mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Replace PyNumber_Int with PyNumber_Long.
This commit is contained in:
parent
e4bc7f69c2
commit
17c7cd8d02
4 changed files with 6 additions and 6 deletions
|
@ -515,7 +515,7 @@ poll_poll(pollObject *self, PyObject *args)
|
|||
return NULL;
|
||||
}
|
||||
else {
|
||||
tout = PyNumber_Int(tout);
|
||||
tout = PyNumber_Long(tout);
|
||||
if (!tout)
|
||||
return NULL;
|
||||
timeout = PyLong_AsLong(tout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue