Skip to content

Commit eac1c50

Browse files
jsignellgadomski
authored andcommitted
Update example
1 parent cd8a789 commit eac1c50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pystac/item_collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ class ItemCollection(Collection[pystac.Item]):
8282
>>> item_collection_1 = ItemCollection(items=[item_1, item_2])
8383
>>> item_collection_2 = ItemCollection(items=[item_2, item_3])
8484
>>> combined = item_collection_1 + item_collection_2
85-
>>> assert len(combined) == 3
86-
# If an item is present in both ItemCollections it will only be added once
85+
>>> assert len(combined) == 4
86+
# If an item is present in both ItemCollections it will occur twice
8787
"""
8888

8989
items: List[pystac.Item]

0 commit comments

Comments
 (0)