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

Method fileno

Lib/socket.py:771–775  ·  view source on GitHub ↗

Return the file descriptor of the underlying socket.

(self)

Source from the content-addressed store, hash-verified

769 return super().seekable()
770
771 def fileno(self):
772 """Return the file descriptor of the underlying socket.
773 """
774 self._checkClosed()
775 return self._sock.fileno()
776
777 @property
778 def name(self):

Callers 6

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

Calls 1

_checkClosedMethod · 0.45

Tested by

no test coverage detected