mirror of
https://github.com/python/cpython.git
synced 2026-03-22 20:50:53 +00:00
This fixes issue 4332 in 2.6 maintenance.
This commit is contained in:
parent
45a276cdd2
commit
6df732777c
1 changed files with 1 additions and 1 deletions
|
|
@ -615,6 +615,6 @@ def __init__(self, fd, map=None):
|
|||
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