Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
jsignell authored and gadomski committed Mar 1, 2023
1 parent cd8a789 commit eac1c50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pystac/item_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class ItemCollection(Collection[pystac.Item]):
>>> item_collection_1 = ItemCollection(items=[item_1, item_2])
>>> item_collection_2 = ItemCollection(items=[item_2, item_3])
>>> combined = item_collection_1 + item_collection_2
>>> assert len(combined) == 3
# If an item is present in both ItemCollections it will only be added once
>>> assert len(combined) == 4
# If an item is present in both ItemCollections it will occur twice
"""

items: List[pystac.Item]
Expand Down

0 comments on commit eac1c50

Please sign in to comment.