Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
48f3bd33
Commit
48f3bd33
authored
Dec 16, 2010
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nits
parent
055d2e0d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
Doc/library/inspect.rst
Doc/library/inspect.rst
+7
-7
Doc/whatsnew/3.2.rst
Doc/whatsnew/3.2.rst
+1
-1
Misc/NEWS
Misc/NEWS
+1
-1
No files found.
Doc/library/inspect.rst
View file @
48f3bd33
...
...
@@ -630,7 +630,7 @@ Current State of a Generator
When implementing coroutine schedulers and for other advanced uses of
generators, it is useful to determine whether a generator is currently
executing, is waiting to start or resume or execution, or has already
terminated. func:`getgeneratorstate` allows the current state of a
terminated.
:
func:`getgeneratorstate` allows the current state of a
generator to be determined easily.
.. function:: getgeneratorstate(generator)
...
...
@@ -638,9 +638,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
Doc/whatsnew/3.2.rst
View file @
48f3bd33
...
...
@@ -1311,7 +1311,7 @@ Multi-threading
* Regular and recursive lock acquisitions can now be interrupted by signals on
platforms using pthreads. This means that Python programs that deadlock while
acquiring locks can be successfully killed by repeatedly sending SIGINT to the
process (
ie,
by pressing Ctl+C in most shells).
process (by pressing Ctl+C in most shells).
(Contributed by Reid Kleckner; :issue:`8844`.)
...
...
Misc/NEWS
View file @
48f3bd33
...
...
@@ -2195,7 +2195,7 @@ Library
- Issue #8897: Fix sunau module, use bytes to write the header. Patch written by
Thomas Jollans.
- Issue #8899: time.struct_time now has class and atribute docstrings.
- Issue #8899: time.struct_time now has class and at
t
ribute docstrings.
- Issue #6470: Drop UNC prefix in FixTk.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment