summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-06-07 18:52:34 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-06-07 18:52:34 (GMT)
commiteb2608415ee4eb8aaea746f6a313937e264d0cda (patch)
tree91ace53220e662a02b964937a60f5e5c357cc9ca /Lib
parent8f6f08c5d4f359dd4ba98b4adbaf7bf64a203aab (diff)
downloadcpython-eb2608415ee4eb8aaea746f6a313937e264d0cda.zip
cpython-eb2608415ee4eb8aaea746f6a313937e264d0cda.tar.gz
cpython-eb2608415ee4eb8aaea746f6a313937e264d0cda.tar.bz2
Minor namespace clean-up.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/decimal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index e3e7fd5..4a91c55 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -134,7 +134,7 @@ __all__ = [
'setcontext', 'getcontext'
]
-import copy
+import copy as _copy
#Rounding
ROUND_DOWN = 'ROUND_DOWN'
@@ -2210,7 +2210,7 @@ class Context(object):
del s
for name, val in locals().items():
if val is None:
- setattr(self, name, copy.copy(getattr(DefaultContext, name)))
+ setattr(self, name, _copy.copy(getattr(DefaultContext, name)))
else:
setattr(self, name, val)
del self.self