From 3fca30a5225deff3a95b76c6c1637ad17f38637b Mon Sep 17 00:00:00 2001 From: Nicolas Tessore Date: Sat, 25 May 2024 14:32:47 +0100 Subject: [PATCH] fix doctests --- src/angst/_twopoint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/angst/_twopoint.py b/src/angst/_twopoint.py index dbf9848..c742985 100644 --- a/src/angst/_twopoint.py +++ b/src/angst/_twopoint.py @@ -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])] """ @@ -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)] """