Skip to content

Commit 7094a36

Browse files
committed
DOC: add additional qualifier to expected behavior of PyOS_InputHook
1 parent c3a50dc commit 7094a36

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Doc/c-api/veryhigh.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ the same library that the Python runtime is using.
151151
event loops, as done in :file:`Modules/_tkinter.c` in the
152152
Python source code.
153153
154-
This function should block until stdin is readable.
154+
This function should block until stdin is readable but may return
155+
early.
155156
156157
The function is called without an :term:`attached thread state`.
157158

0 commit comments

Comments
 (0)