mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
This fixes issue 4332 for Py3k.
This commit is contained in:
parent
a632a75a3e
commit
aae55cbab4
1 changed files with 1 additions and 1 deletions
|
|
@ -614,6 +614,6 @@ if os.name == 'posix':
|
|||
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
|
||||
|
||||
def set_file(self, fd):
|
||||
self._fileno = fd
|
||||
self.socket = file_wrapper(fd)
|
||||
self._fileno = self.socket.fileno()
|
||||
self.add_channel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue