diff options
-rw-r--r-- | Lib/socket.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/socket.py b/Lib/socket.py index e59e6d9..1573bc0 100644 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -178,9 +178,9 @@ class _fileobject: self._sock = sock self._mode = mode if bufsize <= 0: - if bufsize == 0: - bufsize = 1 # Unbuffered mode - else: + if bufsize == 0: + bufsize = 1 # Unbuffered mode + else: bufsize = 8192 self._rbufsize = bufsize self._wbufsize = bufsize |