From: Raymond Hettinger Date: Tue, 7 Jun 2005 18:52:34 +0000 (+0000) Subject: Minor namespace clean-up. X-Git-Tag: v2.5a0~1728 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb2608415ee4eb8aaea746f6a313937e264d0cda;p=thirdparty%2FPython%2Fcpython.git Minor namespace clean-up. --- diff --git a/Lib/decimal.py b/Lib/decimal.py index e3e7fd5c11c0..4a91c5540231 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