summaryrefslogtreecommitdiffstats
path: root/Lib/_threading_local.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 (GMT)
commit182b5aca27d376b08a2904bed42b751496f932f3 (patch)
treedf13115820dbc879c0fe2eae488c9f8c0215a7da /Lib/_threading_local.py
parente6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff)
downloadcpython-182b5aca27d376b08a2904bed42b751496f932f3.zip
cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz
cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.bz2
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Lib/_threading_local.py')
-rw-r--r--Lib/_threading_local.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/_threading_local.py b/Lib/_threading_local.py
index 209c035..c90fde0 100644
--- a/Lib/_threading_local.py
+++ b/Lib/_threading_local.py
@@ -81,7 +81,7 @@ Now we have a default number:
2
an initial color:
-
+
>>> mydata.color
'red'
>>> del mydata.color
@@ -216,7 +216,7 @@ class local(_localbase):
# if enumerate fails, as it seems to do during
# shutdown, we'll skip cleanup under the assumption
# that there is nothing to clean up
- return
+ return
for thread in threads:
try:
@@ -228,7 +228,7 @@ class local(_localbase):
if key in __dict__:
try:
del __dict__[key]
- except KeyError:
+ except KeyError:
pass # didn't have anything in this thread
return __del__