@@ -329,14 +329,10 @@ static FlagRuntimeInfo win_runtime_flags[] = {
329
329
};
330
330
331
331
/*[clinic input]
332
- module _socket
333
- [clinic start generated code]*/
334
- /*[clinic end generated code: output=da39a3ee5e6b4b0d input=4a04c1cd4d2530a1]*/
335
-
336
- /*[clinic input]
337
- class _socket.socket "PySocketSockObject *" "&sock_type"
338
- [clinic start generated code]*/
339
- /*[clinic end generated code: output=da39a3ee5e6b4b0d input=3e0d64ca2c658496]*/
332
+ module _socket
333
+ class _socket.socket "PySocketSockObject *" "&sock_type"
334
+ [clinic start generated code]*/
335
+ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=7a8313d9b7f51988]*/
340
336
341
337
static int
342
338
remove_unusable_flags (PyObject * m )
@@ -1720,7 +1716,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
1720
1716
}
1721
1717
addr -> sun_family = s -> sock_family ;
1722
1718
memcpy (addr -> sun_path , path .buf , path .len );
1723
-
1719
+
1724
1720
retval = 1 ;
1725
1721
unix_out :
1726
1722
PyBuffer_Release (& path );
@@ -5117,17 +5113,17 @@ static int sock_cloexec_works = -1;
5117
5113
/*ARGSUSED*/
5118
5114
5119
5115
/*[clinic input]
5120
- _socket.socket.__init__
5116
+ _socket.socket.__init__ as sock_initobj
5121
5117
family: int = -1
5122
5118
type: int = -1
5123
5119
proto: int = -1
5124
5120
fileno as fdobj: object = NULL
5125
5121
[clinic start generated code]*/
5126
5122
5127
5123
static int
5128
- _socket_socket___init___impl (PySocketSockObject * self , int family , int type ,
5129
- int proto , PyObject * fdobj )
5130
- /*[clinic end generated code: output=8d20ec7eb58df701 input=c0966eb4587c4634 ]*/
5124
+ sock_initobj_impl (PySocketSockObject * self , int family , int type , int proto ,
5125
+ PyObject * fdobj )
5126
+ /*[clinic end generated code: output=d114d026b9a9a810 input=04cfc32953f5cc25 ]*/
5131
5127
{
5132
5128
5133
5129
SOCKET_T fd = INVALID_SOCKET ;
@@ -5382,7 +5378,7 @@ static PyTypeObject sock_type = {
5382
5378
0 , /* tp_descr_get */
5383
5379
0 , /* tp_descr_set */
5384
5380
0 , /* tp_dictoffset */
5385
- _socket_socket___init__ , /* tp_init */
5381
+ sock_initobj , /* tp_init */
5386
5382
PyType_GenericAlloc , /* tp_alloc */
5387
5383
sock_new , /* tp_new */
5388
5384
PyObject_Del , /* tp_free */
0 commit comments