Mercurial > cpython-lru_cache-weakref
diff Modules/_ctypes/callbacks.c @ 47301:23ab586c427a
Renamed PyString to PyBytes
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Mon, 26 May 2008 13:28:38 +0000 |
| parents | 948bea96dd20 |
| children | ebbf011550cd |
line wrap: on
line diff
--- a/Modules/_ctypes/callbacks.c Mon May 26 13:22:05 2008 +0000 +++ b/Modules/_ctypes/callbacks.c Mon May 26 13:28:38 2008 +0000 @@ -110,7 +110,7 @@ if (!py_globals) goto bad; empty_tuple = PyTuple_New(0); if (!empty_tuple) goto bad; - empty_string = PyString_FromString(""); + empty_string = PyBytes_FromString(""); if (!empty_string) goto bad; py_code = PyCode_New( 0, /*int argcount,*/
