diff options
-rw-r--r-- | Doc/library/itertools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 5daadfd375..70e5b7905f 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -936,7 +936,7 @@ which incur interpreter overhead. n = quotient if n == 1: return - if n >= 2: + if n > 1: yield n def flatten(list_of_lists): |