[pypy-svn] r49527 - pypy/branch/pypy-interp-file/module/_file

arigo at codespeak.net arigo at codespeak.net
Fri Dec 7 18:43:00 CET 2007


Author: arigo
Date: Fri Dec  7 18:42:59 2007
New Revision: 49527

Modified:
   pypy/branch/pypy-interp-file/module/_file/interp_file.py
Log:
Dead code.


Modified: pypy/branch/pypy-interp-file/module/_file/interp_file.py
==============================================================================
--- pypy/branch/pypy-interp-file/module/_file/interp_file.py	(original)
+++ pypy/branch/pypy-interp-file/module/_file/interp_file.py	Fri Dec  7 18:42:59 2007
@@ -472,12 +472,6 @@
 
 # ____________________________________________________________
 
-def fdopen_as_stream(space, fd, mode="r", buffering=-1):
-    is_mode_ok(space, mode)
-    return space.wrap(W_Stream(
-            space, streamio.fdopen_as_stream(fd, mode, buffering)))
-fdopen_as_stream.unwrap_spec = [ObjSpace, int, str, int]
-
 def wrap_list_of_str(space, lst):
     return space.newlist([space.wrap(s) for s in lst])
 



More information about the Pypy-commit mailing list