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

Function stdin_ready

IPython/lib/inputhookpyglet.py:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 import select
35
36 def stdin_ready():
37 infds, outfds, erfds = select.select([sys.stdin],[],[],0)
38 if infds:
39 return True
40 else:
41 return False
42
43elif sys.platform == 'win32':
44 import msvcrt

Callers 1

inputhook_pygletFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected