diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-20 04:03:19 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-20 04:03:19 (GMT) |
commit | a275c989c9b97896ef6d0ff6598572e2d663c7b7 (patch) | |
tree | 71132d1a6a2f1777b93e335ae559ddbe282505f8 /Doc/library/inspect.rst | |
parent | d9c4a025d337a9287a1ad99ef2d7c50ed6696e51 (diff) | |
download | cpython-a275c989c9b97896ef6d0ff6598572e2d663c7b7.zip cpython-a275c989c9b97896ef6d0ff6598572e2d663c7b7.tar.gz cpython-a275c989c9b97896ef6d0ff6598572e2d663c7b7.tar.bz2 |
Add more examples
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r-- | Doc/library/inspect.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index ac7284c..e290d73 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -637,9 +637,9 @@ generator to be determined easily. Get current state of a generator-iterator. Possible states are: - - GEN_CREATED: Waiting to start execution. - - GEN_RUNNING: Currently being executed by the interpreter. - - GEN_SUSPENDED: Currently suspended at a yield expression. - - GEN_CLOSED: Execution has completed. + * GEN_CREATED: Waiting to start execution. + * GEN_RUNNING: Currently being executed by the interpreter. + * GEN_SUSPENDED: Currently suspended at a yield expression. + * GEN_CLOSED: Execution has completed. .. versionadded:: 3.2 |