[pypy-svn] r50638 - pypy/branch/applevel-ctypes2/pypy/lib/_ctypes
arigo at codespeak.net
arigo at codespeak.net
Tue Jan 15 16:53:41 CET 2008
Author: arigo
Date: Tue Jan 15 16:53:40 2008
New Revision: 50638
Modified:
pypy/branch/applevel-ctypes2/pypy/lib/_ctypes/function.py
Log:
(fijal, arigo) Pass one more test with more obscure lack of logic.
(NB. This check-in message is vastly longer than the change.)
Modified: pypy/branch/applevel-ctypes2/pypy/lib/_ctypes/function.py
==============================================================================
--- pypy/branch/applevel-ctypes2/pypy/lib/_ctypes/function.py (original)
+++ pypy/branch/applevel-ctypes2/pypy/lib/_ctypes/function.py Tue Jan 15 16:53:40 2008
@@ -24,7 +24,7 @@
self._restype_ = restype
restype = property(_getrestype, _setrestype)
- def __init__(self, address_or_name_and_dll):
+ def __init__(self, address_or_name_and_dll=0):
if isinstance(address_or_name_and_dll, tuple):
self.name, self.dll = address_or_name_and_dll
else:
More information about the Pypy-commit
mailing list