mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
This commit is contained in:
parent
d586559c31
commit
e93237dfcc
108 changed files with 916 additions and 908 deletions
|
@ -1329,7 +1329,7 @@ PyMODINIT_FUNC
|
|||
PyObject *dict, *module;
|
||||
|
||||
/* Patch the object type */
|
||||
Py_Type(&mmap_object_type) = &PyType_Type;
|
||||
Py_TYPE(&mmap_object_type) = &PyType_Type;
|
||||
|
||||
module = Py_InitModule("mmap", mmap_functions);
|
||||
if (module == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue