summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/inspect.py4
-rw-r--r--Misc/ACKS1
2 files changed, 1 insertions, 4 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index fe3ffc7..4b3e27a 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -236,10 +236,6 @@ def isroutine(object):
or ismethod(object)
or ismethoddescriptor(object))
-def isgenerator(object):
- """Return true if the object is a generator object."""
- return isinstance(object, types.GeneratorType)
-
def isabstract(object):
"""Return true if the object is an abstract base class (ABC)."""
return isinstance(object, type) and object.__flags__ & TPFLAGS_IS_ABSTRACT
diff --git a/Misc/ACKS b/Misc/ACKS
index 43dcb86..644c803 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -425,6 +425,7 @@ Thomas Lee
Christopher Lee
Tennessee Leeuwenburg
Luc Lefebvre
+Vincent Legoll
Kip Lehman
Joerg Lehmann
Luke Kenneth Casson Leighton