MCPcopy Index your code
hub / github.com/python/cpython / _decref_socketios

Method _decref_socketios

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

Source from the content-addressed store, hash-verified

504 return self._sendfile_use_send(file, offset, count)
505
506 def _decref_socketios(self):
507 if self._io_refs > 0:
508 self._io_refs -= 1
509 if self._closed:
510 self.close()
511
512 def _real_close(self, _ss=_socket.socket):
513 # 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