[pypy-svn] pypy default: Recursively remove dead code.
alex_gaynor
commits-noreply at bitbucket.org
Sun Mar 6 03:37:57 CET 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r42440:50df87ba71f6
Date: 2011-03-05 18:37 -0800
http://bitbucket.org/pypy/pypy/changeset/50df87ba71f6/
Log: Recursively remove dead code.
diff --git a/pypy/module/fcntl/interp_fcntl.py b/pypy/module/fcntl/interp_fcntl.py
--- a/pypy/module/fcntl/interp_fcntl.py
+++ b/pypy/module/fcntl/interp_fcntl.py
@@ -74,11 +74,6 @@
return wrap_oserror(space, OSError(errno, funcname),
exception_name = 'w_IOError')
-def _get_module_object(space, obj_name):
- w_module = space.getbuiltinmodule('fcntl')
- w_obj = space.getattr(w_module, space.wrap(obj_name))
- return w_obj
-
def _check_flock_op(space, op):
if op == LOCK_UN:
More information about the Pypy-commit
mailing list