Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_sys.py @ 53816:911df82bc25d
add a replacement API for PyCObject, PyCapsule #5630
All stdlib modules with C-APIs now use this.
Patch by Larry Hastings
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Tue, 05 May 2009 22:31:58 +0000 |
| parents | 7e978ca42930 |
| children | 0bb232078b8c |
line wrap: on
line diff
--- a/Lib/test/test_sys.py Tue May 05 22:14:50 2009 +0000 +++ b/Lib/test/test_sys.py Tue May 05 22:31:58 2009 +0000 @@ -644,7 +644,7 @@ def delx(self): del self.__x x = property(getx, setx, delx, "") check(x, size(h + '4Pi')) - # PyCObject + # PyCapsule # XXX # rangeiterator check(iter(range(1)), size(h + '4l'))
