mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Whitespace normalization.
This commit is contained in:
parent
b7e898a0e2
commit
4e0e1b6a54
32 changed files with 144 additions and 166 deletions
|
|
@ -304,7 +304,7 @@ class dispatcher:
|
|||
if why[0] == EWOULDBLOCK:
|
||||
pass
|
||||
else:
|
||||
raise
|
||||
raise
|
||||
|
||||
def send(self, data):
|
||||
try:
|
||||
|
|
@ -314,7 +314,7 @@ class dispatcher:
|
|||
if why[0] == EWOULDBLOCK:
|
||||
return 0
|
||||
else:
|
||||
raise
|
||||
raise
|
||||
return 0
|
||||
|
||||
def recv(self, buffer_size):
|
||||
|
|
@ -333,7 +333,7 @@ class dispatcher:
|
|||
self.handle_close()
|
||||
return ''
|
||||
else:
|
||||
raise
|
||||
raise
|
||||
|
||||
def close(self):
|
||||
self.del_channel()
|
||||
|
|
@ -529,4 +529,3 @@ if os.name == 'posix':
|
|||
self._fileno = fd
|
||||
self.socket = file_wrapper(fd)
|
||||
self.add_channel()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue