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
|
@ -298,7 +298,7 @@ init_md5(void)
|
|||
{
|
||||
PyObject *m, *d;
|
||||
|
||||
Py_Type(&MD5type) = &PyType_Type;
|
||||
Py_TYPE(&MD5type) = &PyType_Type;
|
||||
if (PyType_Ready(&MD5type) < 0)
|
||||
return;
|
||||
m = Py_InitModule3("_md5", md5_functions, module_doc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue