Skip to content

Commit bc6733b

Browse files
committed
remove bitwise=True from clinic converter
1 parent 6ea506f commit bc6733b

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

Modules/clinic/socketmodule.c.h

Lines changed: 4 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/socketmodule.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6362,15 +6362,15 @@ _socket_socket_ntohs_impl(PySocketSockObject *self, int x)
63626362

63636363
/*[clinic input]
63646364
_socket.socket.ntohl
6365-
x: unsigned_long(bitwise=True)
6365+
x: unsigned_long
63666366
/
63676367
63686368
Convert a 32-bit integer from network to host byte order.
63696369
[clinic start generated code]*/
63706370

63716371
static PyObject *
63726372
_socket_socket_ntohl_impl(PySocketSockObject *self, unsigned long x)
6373-
/*[clinic end generated code: output=88e46cad3e45c65c input=02a9a0c0ad14a079]*/
6373+
/*[clinic end generated code: output=88e46cad3e45c65c input=862d49375611e718]*/
63746374
{
63756375
#if SIZEOF_LONG > 4
63766376
{
@@ -6417,15 +6417,15 @@ _socket_socket_htons_impl(PySocketSockObject *self, int x)
64176417

64186418
/*[clinic input]
64196419
_socket.socket.htonl
6420-
x: unsigned_long(bitwise=True)
6420+
x: unsigned_long
64216421
/
64226422
64236423
Convert a 32-bit integer from host to network byte order.
64246424
[clinic start generated code]*/
64256425

64266426
static PyObject *
64276427
_socket_socket_htonl_impl(PySocketSockObject *self, unsigned long x)
6428-
/*[clinic end generated code: output=04a88551f090913e input=e356f217ac56bef5]*/
6428+
/*[clinic end generated code: output=04a88551f090913e input=0b263bade5b54efc]*/
64296429
{
64306430
#if SIZEOF_LONG > 4
64316431
{

0 commit comments

Comments
 (0)