MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / Py_FdIsInteractive

Function Py_FdIsInteractive

Python/pythonrun.c:1796–1806  ·  view source on GitHub ↗

* The file descriptor fd is considered ``interactive'' if either * a) isatty(fd) is TRUE, or * b) the -i flag was given, and the filename associated with * the descriptor is NULL or " " or "???". */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Py_MainFunction · 0.85
PyRun_AnyFileExFlagsFunction · 0.85

Calls 2

isattyFunction · 0.85
filenoFunction · 0.50

Tested by

no test coverage detected