Update generic.py

Issue 57 Correctly initialize NumberObject (to make it work under pypy)