MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _decref_socketios

Method _decref_socketios

tools/python-3.11.9-amd64/Lib/socket.py:489–493  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

487 return self._sendfile_use_send(file, offset, count)
488
489 def _decref_socketios(self):
490 if self._io_refs > 0:
491 self._io_refs -= 1
492 if self._closed:
493 self.close()
494
495 def _real_close(self, _ss=_socket.socket):
496 # This function should not reference any globals. See issue #808164.

Callers 1

closeMethod · 0.45

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected