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

Method fileno

tools/python-3.11.9-amd64/Lib/_pyio.py:1798–1801  ·  view source on GitHub ↗

Return the underlying file descriptor (an integer).

(self)

Source from the content-addressed store, hash-verified

1796 return self._writable
1797
1798 def fileno(self):
1799 """Return the underlying file descriptor (an integer)."""
1800 self._checkClosed()
1801 return self._fd
1802
1803 def isatty(self):
1804 """True if the file is connected to a TTY device."""

Callers 1

openFunction · 0.95

Calls 1

_checkClosedMethod · 0.45

Tested by

no test coverage detected