mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
bpo-41798: Allocate _socket module C API on the heap (GH-24126)
This commit is contained in:
parent
ff8458b918
commit
f22b7ca1af
2 changed files with 48 additions and 17 deletions
|
|
@ -342,7 +342,8 @@ typedef struct {
|
|||
|
||||
*/
|
||||
|
||||
/* C API for usage by other Python modules */
|
||||
/* C API for usage by other Python modules.
|
||||
* Always add new things to the end for binary compatibility. */
|
||||
typedef struct {
|
||||
PyTypeObject *Sock_Type;
|
||||
PyObject *error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue