Skip to content

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
ntessore committed May 25, 2024
1 parent e812842 commit 3fca30a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/angst/_twopoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def enumerate2(
from the input.
>>> spectra = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
>>> list(angst.enumerate2(spectra))
>>> list(enumerate2(spectra))
[(0, 0, [1, 2, 3]), (1, 1, [4, 5, 6]), (1, 0, [7, 8, 9])]
"""
Expand All @@ -37,7 +37,7 @@ def indices2(n: int) -> Iterator[tuple[int, int]]:
for a set of two-point functions for *n* fields. Each item is a tuple of
indices *i*, *j*.
>>> list(angst.indices2(3))
>>> list(indices2(3))
[(0, 0), (1, 1), (1, 0), (2, 2), (2, 1), (2, 0)]
"""
Expand Down

0 comments on commit 3fca30a

Please sign in to comment.