diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-28 01:18:54 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-28 01:18:54 +0100 |
commit | 71694d5c8c1846c6ac755bef69d7817f95359ecd (patch) | |
tree | 2ecf438ae2dde857ea398f163e31c0fb6c5c7421 /Modules/socketmodule.h | |
parent | 95e9cef6f023a1cf365f2f02775badb3a6ac0d82 (diff) | |
download | cpython-git-71694d5c8c1846c6ac755bef69d7817f95359ecd.tar.gz |
Issue #22117: The socket module uses _PyTime_t timestamp for timeouts
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r-- | Modules/socketmodule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index 4b6a10e85a..3cce927e0b 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -174,7 +174,7 @@ typedef struct { PyObject *(*errorhandler)(void); /* Error handler; checks errno, returns NULL and sets a Python exception */ - double sock_timeout; /* Operation timeout in seconds; + _PyTime_t sock_timeout; /* Operation timeout in seconds; 0.0 means non-blocking */ } PySocketSockObject; |