[Python-checkins] python/dist/src/Lib threading.py,1.29,1.30

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
2002年12月30日 13:59:57 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv31157
Modified Files:
	threading.py 
Log Message:
Add __all__. (Brett Cannon.)
Index: threading.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/threading.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** threading.py	21 Nov 2002 21:08:39 -0000	1.29
--- threading.py	30 Dec 2002 21:59:55 -0000	1.30
***************
*** 8,11 ****
--- 8,13 ----
 
 # Rename some stuff so "from threading import *" is safe
+ __all__ = ['activeCount', 'Condition', 'currentThread', 'enumerate', 'Event',
+ 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 'Timer']
 
 _sys = sys

AltStyle によって変換されたページ (->オリジナル) /