MCPcopy Index your code
hub / github.com/RustPython/RustPython / _decref_socketios

Method _decref_socketios

Lib/socket.py:497–501  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

495 return self._sendfile_use_send(file, offset, count)
496
497 def _decref_socketios(self):
498 if self._io_refs > 0:
499 self._io_refs -= 1
500 if self._closed:
501 self.close()
502
503 def _real_close(self, _ss=_socket.socket):
504 # This function should not reference any globals. See issue #808164.

Callers 1

closeMethod · 0.80

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected