diff options
Diffstat (limited to 'Modules/socketmodule.h')
| -rw-r--r-- | Modules/socketmodule.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index 0c6cd1b1ec..936acac5b9 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -83,9 +83,8 @@ typedef struct { PyObject *(*errorhandler)(void); /* Error handler; checks errno, returns NULL and sets a Python exception */ - int sock_blocking; /* Flag indicated whether the - socket is in blocking mode */ - double sock_timeout; /* Operation timeout value */ + double sock_timeout; /* Operation timeout in seconds; + 0.0 means non-blocking */ } PySocketSockObject; /* --- C API ----------------------------------------------------*/ |
