Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge #30300
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 28, 2022
2 parents 9378a78 + 66874a9 commit 877d17e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sage/sets/family.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,12 @@ def items(self):
A key can only appear once, but if the function is not injective, values may
appear multiple times.
EXAMPLES::
sage: f = Family([-2, -1, 0, 1, 2], abs)
sage: list(f.items())
[(-2, 2), (-1, 1), (0, 0), (1, 1), (2, 2)]
"""
return zip(self.keys(), self.values())

Expand Down

0 comments on commit 877d17e

Please sign in to comment.