[Python-checkins] python/dist/src/Lib decimal.py,1.36,1.37

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Tue Jun 7 20:52:51 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9998

Modified Files:
	decimal.py 
Log Message:
Minor namespace clean-up.

Index: decimal.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/decimal.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- decimal.py	27 Mar 2005 10:47:38 -0000	1.36
+++ decimal.py	7 Jun 2005 18:52:34 -0000	1.37
@@ -134,7 +134,7 @@
     'setcontext', 'getcontext'
 ]
 
-import copy
+import copy as _copy
 
 #Rounding
 ROUND_DOWN = 'ROUND_DOWN'
@@ -2210,7 +2210,7 @@
             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



More information about the Python-checkins mailing list