summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-07-15 12:17:26 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-07-15 12:17:26 (GMT)
commit3fc2fde7ffc7f94438a212592879e57520f01247 (patch)
tree04e328cf65a42c91784bd07b2daeb8a34a8be107 /Lib
parent00457170908e4e887f5dd879528172ddf3491039 (diff)
downloadcpython-3fc2fde7ffc7f94438a212592879e57520f01247.zip
cpython-3fc2fde7ffc7f94438a212592879e57520f01247.tar.gz
cpython-3fc2fde7ffc7f94438a212592879e57520f01247.tar.bz2
Typo fixes
Diffstat (limited to 'Lib')
-rw-r--r--Lib/_threading_local.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/_threading_local.py b/Lib/_threading_local.py
index 3509493..209c035 100644
--- a/Lib/_threading_local.py
+++ b/Lib/_threading_local.py
@@ -1,13 +1,13 @@
"""Thread-local objects
(Note that this module provides a Python version of thread
- threading.local class. Deoending on the version of Python you're
+ threading.local class. Depending on the version of Python you're
using, there may be a faster one available. You should always import
the local class from threading.)
Thread-local objects support the management of thread-local data.
If you have data that you want to be local to a thread, simply create
-a thread-local object and use it's attributes:
+a thread-local object and use its attributes:
>>> mydata = local()
>>> mydata.number = 42
@@ -100,7 +100,7 @@ As before, we can access the data in a separate thread:
>>> log
[[('color', 'red'), ('initialized', True)], 11]
-without effecting this threads data:
+without affecting this thread's data:
>>> mydata.number
2
@@ -229,7 +229,7 @@ class local(_localbase):
try:
del __dict__[key]
except KeyError:
- pass # didn't have nything in this thread
+ pass # didn't have anything in this thread
return __del__
__del__ = __del__()