summaryrefslogtreecommitdiff
path: root/Lib/decimal.py
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2007-04-15 12:05:43 +0000
committerNick Coghlan <ncoghlan@gmail.com>2007-04-15 12:05:43 +0000
commit65391c35fb4aa37d3d3b1cf77529fc90ea47e8da (patch)
treefa534a39475c842816d0104f0541c184abed9764 /Lib/decimal.py
parent7b1dd1ee3339f3e97bb99aaefdfc91ea1a66369c (diff)
downloadcpython-65391c35fb4aa37d3d3b1cf77529fc90ea47e8da.tar.gz
Hide list comp variables and support set comprehensions
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 74b23b6a32..148b6262c0 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -2282,10 +2282,8 @@ class Context(object):
_ignored_flags = []
if not isinstance(flags, dict):
flags = dict([(s,s in flags) for s in _signals])
- del s
if traps is not None and not isinstance(traps, dict):
traps = dict([(s,s in traps) for s in _signals])
- del s
for name, val in locals().items():
if val is None:
setattr(self, name, _copy.copy(getattr(DefaultContext, name)))