summaryrefslogtreecommitdiff
path: root/Lib/_threading_local.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 +0000
committerTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 +0000
commitc71fe97a2c07d09144fd634f442a8ad29c84e0c0 (patch)
treea3058fb9abd3146b5bafd435e449cce2df397876 /Lib/_threading_local.py
parentacbad78022027cf7d94c4b9d60b1a1f44441ad93 (diff)
downloadcpython-c71fe97a2c07d09144fd634f442a8ad29c84e0c0.tar.gz
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 209c03576c..c90fde0653 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__