[pypy-svn] r20273 - pypy/branch/somepbc-refactoring/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Sat Nov 26 13:08:46 CET 2005


Author: arigo
Date: Sat Nov 26 13:08:45 2005
New Revision: 20273

Modified:
   pypy/branch/somepbc-refactoring/pypy/rpython/lltypesystem/rclass.py
Log:
Compatibility to 2.3.


Modified: pypy/branch/somepbc-refactoring/pypy/rpython/lltypesystem/rclass.py
==============================================================================
--- pypy/branch/somepbc-refactoring/pypy/rpython/lltypesystem/rclass.py	(original)
+++ pypy/branch/somepbc-refactoring/pypy/rpython/lltypesystem/rclass.py	Sat Nov 26 13:08:45 2005
@@ -173,7 +173,7 @@
             if rsubcls.classdef is None:
                 name = 'object'
             else:
-                name = rsubcls.classdef.name.rsplit('.', 1)[-1]
+                name = rsubcls.classdef.name.split('.')[-1]
             vtable.name = malloc(Array(Char), len(name)+1, immortal=True)
             for i in range(len(name)):
                 vtable.name[i] = name[i]



More information about the Pypy-commit mailing list