[pypy-svn] r77583 - pypy/branch/fast-forward/pypy/module/_io
afa at codespeak.net
afa at codespeak.net
Mon Oct 4 19:34:22 CEST 2010
Author: afa
Date: Mon Oct 4 19:34:21 2010
New Revision: 77583
Modified:
pypy/branch/fast-forward/pypy/module/_io/__init__.py
Log:
Try to fix translation
Modified: pypy/branch/fast-forward/pypy/module/_io/__init__.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/_io/__init__.py (original)
+++ pypy/branch/fast-forward/pypy/module/_io/__init__.py Mon Oct 4 19:34:21 2010
@@ -22,9 +22,8 @@
'BufferedRWPair': 'interp_io.W_BufferedRWPair',
'BufferedRandom': 'interp_io.W_BufferedRandom',
'TextIOWrapper': 'interp_io.W_TextIOWrapper',
- }
- def startup(self, space):
- for name in """UnsupportedOperation open IncrementalNewlineDecoder
- """.split():
- space.setattr(self, space.wrap(name), space.w_None)
+ 'open': 'space.w_None',
+ 'UnsupportedOperation': 'space.w_None',
+ 'IncrementalNewlineDecoder': 'space.w_None',
+ }
More information about the Pypy-commit
mailing list