Minor readability improvement to the factor() recipe (GH-102971)

This commit is contained in:
Raymond Hettinger 2023-03-23 14:46:15 -05:00 committed by GitHub
parent b6132085ca
commit 16f6165b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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):