mirror of https://github.com/python/cpython
reformat comment
This commit is contained in:
parent
19d6a4fd49
commit
49203dc9f2
|
@ -173,11 +173,11 @@ class socket(_socket.socket):
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
def _real_close(self, _ss=_socket.socket):
|
def _real_close(self, _ss=_socket.socket):
|
||||||
# This function should not reference any globals. See Issue808164
|
# This function should not reference any globals. See issue #808164.
|
||||||
_ss.close(self)
|
_ss.close(self)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
# This function should not reference any globals. See Issue808164
|
# This function should not reference any globals. See issue #808164.
|
||||||
self._closed = True
|
self._closed = True
|
||||||
if self._io_refs <= 0:
|
if self._io_refs <= 0:
|
||||||
self._real_close()
|
self._real_close()
|
||||||
|
|
Loading…
Reference in New Issue