fix an issue with the constuctor of NumberObject

only tested with Python 3.3