Commits

Mike Bayer committed 5039434

restored Float's full constructor to play better with overriding types, i.e. mysql.MSFloat

  • Participants
  • Parent commits 8d34951
  • Branches rel_0_4

Comments (0)

Files changed (1)

lib/sqlalchemy/types.py

 
 class Float(Numeric):
     def __init__(self, precision = 10, asdecimal=False, **kwargs):
-        super(Float, self).__init__(asdecimal=asdecimal, **kwargs)
         self.precision = precision
-
+        self.asdecimal = asdecimal
+        
     def adapt(self, impltype):
         return impltype(precision=self.precision, asdecimal=self.asdecimal)