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
7e927398
Commit
7e927398
authored
Jan 02, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#4808: move old API below new API doc.
parent
b87d24cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
Doc/library/threading.rst
Doc/library/threading.rst
+14
-12
No files found.
Doc/library/threading.rst
View file @
7e927398
...
@@ -278,12 +278,6 @@ impossible to detect the termination of alien threads.
...
@@ -278,12 +278,6 @@ impossible to detect the termination of alien threads.
raises the same exception.
raises the same exception.
.. method:: Thread.getName()
Thread.setName()
Old API for :attr:`~Thread.name`.
.. attribute:: Thread.name
.. attribute:: Thread.name
A string used for identification purposes only. It has no semantics.
A string used for identification purposes only. It has no semantics.
...
@@ -291,6 +285,13 @@ impossible to detect the termination of alien threads.
...
@@ -291,6 +285,13 @@ impossible to detect the termination of alien threads.
constructor.
constructor.
.. method:: Thread.getName()
Thread.setName()
Old getter/setter API for :attr:`~Thread.name`; use it directly as a property
instead.
.. attribute:: Thread.ident
.. attribute:: Thread.ident
The 'thread identifier' of this thread or ``None`` if the thread has not been
The 'thread identifier' of this thread or ``None`` if the thread has not been
...
@@ -309,12 +310,6 @@ impossible to detect the termination of alien threads.
...
@@ -309,12 +310,6 @@ impossible to detect the termination of alien threads.
returns a list of all alive threads.
returns a list of all alive threads.
.. method:: Thread.isDaemon()
Thread.setDaemon()
Old API for :attr:`~Thread.daemon`.
.. attribute:: Thread.daemon
.. attribute:: Thread.daemon
The thread's daemon flag. This must be set before :meth:`start` is called,
The thread's daemon flag. This must be set before :meth:`start` is called,
...
@@ -325,6 +320,13 @@ impossible to detect the termination of alien threads.
...
@@ -325,6 +320,13 @@ impossible to detect the termination of alien threads.
The entire Python program exits when no alive non-daemon threads are left.
The entire Python program exits when no alive non-daemon threads are left.
.. method:: Thread.isDaemon()
Thread.setDaemon()
Old getter/setter API for :attr:`~Thread.daemon`; use it directly as a
property instead.
.. _lock-objects:
.. _lock-objects:
Lock Objects
Lock Objects
...
...
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