[pypy-svn] rev 512 - pypy/trunk/src/pypy/interpreter

tomek at codespeak.net tomek at codespeak.net
Tue May 27 12:07:19 CEST 2003


Author: tomek
Date: Tue May 27 12:07:19 2003
New Revision: 512

Modified:
   pypy/trunk/src/pypy/interpreter/baseobjspace.py
Log:
Two new methods in MethodTable, hex and ord.


Modified: pypy/trunk/src/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/baseobjspace.py	(original)
+++ pypy/trunk/src/pypy/interpreter/baseobjspace.py	Tue May 27 12:07:19 2003
@@ -181,6 +181,8 @@
     ('neg',             'neg',       1),
     ('not_',            'not',       1),
     ('abs' ,            'abs',       1),
+    ('hex',             'hex',       1),
+    ('ord',             'ord',       1),
     ('invert',          '~',         1),
     ('add',             '+',         2),
     ('sub',             '-',         2),


More information about the Pypy-commit mailing list