summaryrefslogtreecommitdiffstats
path: root/Lib/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/types.py')
-rw-r--r--Lib/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/types.py b/Lib/types.py
index 9811646..22d00f7 100644
--- a/Lib/types.py
+++ b/Lib/types.py
@@ -7,7 +7,7 @@ import sys
# Iterators in Python aren't a matter of type but of protocol. A large
# and changing number of builtin types implement *some* flavor of
# iterator. Don't check the type! Use hasattr to check for both
-# "__iter__" and "next" attributes instead.
+# "__iter__" and "__next__" attributes instead.
NoneType = type(None)
TypeType = type