[3.11] Minor readability improvement to the factor() recipe (GH-102971) (GH-102972)

This commit is contained in:
Miss Islington (bot) 2023-03-23 12:56:35 -07:00 committed by GitHub
parent 202e16ea05
commit 60b2b58f87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -925,7 +925,7 @@ which incur interpreter overhead.
n = quotient
if n == 1:
return
if n >= 2:
if n > 1:
yield n
def flatten(list_of_lists):