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

Method fileno

Lib/socket.py:780–784  ·  view source on GitHub ↗

Return the file descriptor of the underlying socket.

(self)

Source from the content-addressed store, hash-verified

778 return super().seekable()
779
780 def fileno(self):
781 """Return the file descriptor of the underlying socket.
782 """
783 self._checkClosed()
784 return self._sock.fileno()
785
786 @property
787 def name(self):

Callers 7

nameMethod · 0.95
__repr__Method · 0.45
dupMethod · 0.45
_sendfile_zerocopyMethod · 0.45
get_inheritableMethod · 0.45
set_inheritableMethod · 0.45

Calls 1

_checkClosedMethod · 0.45

Tested by

no test coverage detected