[pypy-svn] r73866 - pypy/trunk/pypy/objspace/std

benjamin at codespeak.net benjamin at codespeak.net
Sun Apr 18 03:19:29 CEST 2010


Author: benjamin
Date: Sun Apr 18 03:19:11 2010
New Revision: 73866

Modified:
   pypy/trunk/pypy/objspace/std/basestringtype.py
Log:
simplify basestring typedef

Modified: pypy/trunk/pypy/objspace/std/basestringtype.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/basestringtype.py	(original)
+++ pypy/trunk/pypy/objspace/std/basestringtype.py	Sun Apr 18 03:19:11 2010
@@ -1,9 +1,7 @@
-from pypy.objspace.std.stdtypedef import *
+from pypy.objspace.std.stdtypedef import StdTypeDef
 
 
-# ____________________________________________________________
-
 basestring_typedef = StdTypeDef("basestring",
-    __doc__ =  '''Type basestring cannot be instantiated; it is the base for str and unicode.'''                        
+    __doc__ =  ("basestring cannot be instantiated; "
+                "it is the base for str and unicode.")
     )
-



More information about the Pypy-commit mailing list