Skip to content

Commit 294c7c4

Browse files
committed
DOC: add additional qualifier to expected behavior of PyOS_InputHook
1 parent 274c332 commit 294c7c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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
.. versionchanged:: 3.12
157158
This function is only called from the

0 commit comments

Comments
 (0)