[pypy-svn] r49747 - pypy/branch/interplevel-oldstyle-classes/pypy/module/_random

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Dec 13 23:27:43 CET 2007


Author: cfbolz
Date: Thu Dec 13 23:27:42 2007
New Revision: 49747

Modified:
   pypy/branch/interplevel-oldstyle-classes/pypy/module/_random/interp_random.py
Log:
give the Random class a sensible name


Modified: pypy/branch/interplevel-oldstyle-classes/pypy/module/_random/interp_random.py
==============================================================================
--- pypy/branch/interplevel-oldstyle-classes/pypy/module/_random/interp_random.py	(original)
+++ pypy/branch/interplevel-oldstyle-classes/pypy/module/_random/interp_random.py	Thu Dec 13 23:27:42 2007
@@ -110,7 +110,7 @@
     getrandbits.unwrap_spec = ['self', ObjSpace, int]
 
 
-W_Random.typedef = TypeDef("W_Random",
+W_Random.typedef = TypeDef("Random",
     __new__ = interp2app(descr_new__),
     random = interp2app(W_Random.random),
     seed = interp2app(W_Random.seed),



More information about the Pypy-commit mailing list