[pypy-commit] pypy default: Remove unnecessary import and unused variable
dlo
noreply at buildbot.pypy.org
Fri Oct 14 07:05:48 CEST 2011
Author: Dan Loewenherz <dan at dlo.me>
Branch:
Changeset: r48047:c77dd69c7542
Date: 2011-10-13 21:46 -0700
http://bitbucket.org/pypy/pypy/changeset/c77dd69c7542/
Log: Remove unnecessary import and unused variable
diff --git a/lib_pypy/resource.py b/lib_pypy/resource.py
--- a/lib_pypy/resource.py
+++ b/lib_pypy/resource.py
@@ -7,7 +7,7 @@
from ctypes_support import standard_c_lib as libc
from ctypes_support import get_errno
-from ctypes import Structure, c_int, c_long, byref, sizeof, POINTER
+from ctypes import Structure, c_int, c_long, byref, POINTER
from errno import EINVAL, EPERM
import _structseq
@@ -165,7 +165,6 @@
@builtinify
def getpagesize():
- pagesize = 0
if _getpagesize:
return _getpagesize()
else:
More information about the pypy-commit
mailing list