mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
PyObject_Del can now be used as a function designator.
This commit is contained in:
parent
6189b89cc5
commit
aa769ae468
6 changed files with 7 additions and 7 deletions
|
@ -2703,7 +2703,7 @@ init_socket(void)
|
|||
PySocketSock_Type.ob_type = &PyType_Type;
|
||||
PySocketSock_Type.tp_getattro = PyObject_GenericGetAttr;
|
||||
PySocketSock_Type.tp_alloc = PyType_GenericAlloc;
|
||||
PySocketSock_Type.tp_free = _PyObject_Del;
|
||||
PySocketSock_Type.tp_free = PyObject_Del;
|
||||
m = Py_InitModule3(PySocket_MODULE_NAME,
|
||||
PySocket_methods,
|
||||
module_doc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue