MCPcopy Create free account
hub / github.com/ipython/ipython / stdin_ready

Function stdin_ready

IPython/lib/inputhookglut.py:84–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 import select
83
84 def stdin_ready():
85 infds, outfds, erfds = select.select([sys.stdin],[],[],0)
86 if infds:
87 return True
88 else:
89 return False
90
91elif sys.platform == 'win32':
92 import msvcrt

Callers 4

check_stdinMethod · 0.90
inputhook_wx3Function · 0.90
inputhook_qt4Function · 0.90
inputhook_glutFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected