Message180967
These lines of Python (2.7):
y = float(x)
gives the error:
TypeError: float() argument must be a string or a number.
In various cases such as:
x = [0]
x = None
x = SomeClass()
In addition to the information given in the error message, it could help, for debugging purposes, to state the type of the object given. |
|
Date |
User |
Action |
Args |
2013-01-30 08:33:13 | Jonathan.Livni | set | recipients:
+ Jonathan.Livni |
2013-01-30 08:33:13 | Jonathan.Livni | set | messageid: <1359534793.39.0.291653711097.issue17080@psf.upfronthosting.co.za> |
2013-01-30 08:33:13 | Jonathan.Livni | link | issue17080 messages |
2013-01-30 08:33:12 | Jonathan.Livni | create | |
|