Commits

Frank Wierzbicki  committed 18db8d1

Remove java imports from func bodies for pep8 and perf.

  • Participants
  • Parent commits 005b971
  • Branches 2.5

Comments (0)

Files changed (1)

File Lib/decimal.py

 
     # support for Jython __tojava__:
     def __tojava__(self, java_class):
-        from java.lang import Object
-        from java.math import BigDecimal
-        from org.python.core import Py
         if java_class not in (BigDecimal, Object):
             return Py.NoConversion
         return BigDecimal(str(self))