[pypy-svn] r78139 - pypy/branch/fast-forward/pypy/module/_io

afa at codespeak.net afa at codespeak.net
Wed Oct 20 17:09:27 CEST 2010


Author: afa
Date: Wed Oct 20 17:09:25 2010
New Revision: 78139

Modified:
   pypy/branch/fast-forward/pypy/module/_io/interp_io.py
   pypy/branch/fast-forward/pypy/module/_io/interp_stringio.py
Log:
Kill duplicates


Modified: pypy/branch/fast-forward/pypy/module/_io/interp_io.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/_io/interp_io.py	(original)
+++ pypy/branch/fast-forward/pypy/module/_io/interp_io.py	Wed Oct 20 17:09:25 2010
@@ -26,20 +26,6 @@
     characters_written = interp_attrproperty('written', W_BlockingIOError),
     )
 
-class W_TextIOBase(W_IOBase):
-    pass
-W_TextIOBase.typedef = TypeDef(
-    '_TextIOBase', W_IOBase.typedef,
-    __new__ = generic_new_descr(W_TextIOBase),
-    )
-
-class W_TextIOWrapper(W_TextIOBase):
-    pass
-W_TextIOWrapper.typedef = TypeDef(
-    'TextIOWrapper', W_TextIOBase.typedef,
-    __new__ = generic_new_descr(W_TextIOWrapper),
-    )
-
 @unwrap_spec(ObjSpace, Arguments)
 def open(space, __args__):
     # XXX cheat!

Modified: pypy/branch/fast-forward/pypy/module/_io/interp_stringio.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/_io/interp_stringio.py	(original)
+++ pypy/branch/fast-forward/pypy/module/_io/interp_stringio.py	Wed Oct 20 17:09:25 2010
@@ -1,4 +1,4 @@
-from pypy.module._io.interp_io import W_TextIOBase
+from pypy.module._io.interp_textio import W_TextIOBase
 from pypy.interpreter.typedef import TypeDef
 from pypy.interpreter.gateway import interp2app, unwrap_spec
 from pypy.interpreter.error import operationerrfmt



More information about the Pypy-commit mailing list