comparison roundup/hyperdb.py @ 5324:882dfa723df5

Remove duplicate super call
author Ralf Schlatterbeck <rsc@runtux.com>
date Mon, 12 Dec 2016 16:51:01 +0100
parents e1e40674a0bc
children 8cd518058007
comparison
equal deleted inserted replaced
5175:e1e40674a0bc 5324:882dfa723df5
300 backend. The default is to use single-precision float (aka 300 backend. The default is to use single-precision float (aka
301 'real') in the db. Note that sqlite already uses 8-byte for 301 'real') in the db. Note that sqlite already uses 8-byte for
302 floating point numbers. 302 floating point numbers.
303 """ 303 """
304 self.use_double = use_double 304 self.use_double = use_double
305 _Type.__init__ (self, **kw)
306 super(Number, self).__init__(**kw) 305 super(Number, self).__init__(**kw)
307 def from_raw(self, value, **kw): 306 def from_raw(self, value, **kw):
308 value = value.strip() 307 value = value.strip()
309 try: 308 try:
310 value = float(value) 309 value = float(value)

Roundup Issue Tracker: http://roundup-tracker.org/