diff options
-rw-r--r-- | Doc/library/inspect.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 58337f0..92c3ef9 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -279,10 +279,14 @@ Note: Return true if the object is a Python generator function. + .. versionadded:: 2.6 + .. function:: isgenerator(object) Return true if the object is a generator. + .. versionadded:: 2.6 + .. function:: istraceback(object) Return true if the object is a traceback. |