summaryrefslogtreecommitdiffstats
path: root/Lib/threading.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-14 12:46:42 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-14 12:46:42 (GMT)
commit19e69c5a2067fe6322ead88733ebbca77673010b (patch)
treea16cdb8e1d9e80a4c47d8aa0702cc616afb1d3ea /Lib/threading.py
parentd226d308a3856e67c654ff3d5924be6d24568388 (diff)
downloadcpython-19e69c5a2067fe6322ead88733ebbca77673010b.zip
cpython-19e69c5a2067fe6322ead88733ebbca77673010b.tar.gz
cpython-19e69c5a2067fe6322ead88733ebbca77673010b.tar.bz2
Issue #23883: Add missing APIs to __all__; patch by Jacek KoƂodziej
Diffstat (limited to 'Lib/threading.py')
-rw-r--r--Lib/threading.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 828019d..2bf33c1 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -22,9 +22,11 @@ except ImportError:
# with the multiprocessing module, which doesn't provide the old
# Java inspired names.
-__all__ = ['active_count', 'Condition', 'current_thread', 'enumerate', 'Event',
- 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 'Barrier',
- 'Timer', 'ThreadError', 'setprofile', 'settrace', 'local', 'stack_size']
+__all__ = ['get_ident', 'active_count', 'Condition', 'current_thread',
+ 'enumerate', 'main_thread', 'TIMEOUT_MAX',
+ 'Event', 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread',
+ 'Barrier', 'BrokenBarrierError', 'Timer', 'ThreadError',
+ 'setprofile', 'settrace', 'local', 'stack_size']
# Rename some stuff so "from threading import *" is safe
_start_new_thread = _thread.start_new_thread