Skip to content

Commit baf4515

Browse files
authored
fix typo in comments PyOS_CallInputHook -> PyOS_InputHook (#140237)
1 parent 7babe31 commit baf4515

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Modules/clinic/posixmodule.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/posixmodule.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17308,12 +17308,12 @@ os__supports_virtual_terminal_impl(PyObject *module)
1730817308
/*[clinic input]
1730917309
os._inputhook
1731017310
17311-
Calls PyOS_CallInputHook droppong the GIL first
17311+
Calls PyOS_InputHook dropping the GIL first
1731217312
[clinic start generated code]*/
1731317313

1731417314
static PyObject *
1731517315
os__inputhook_impl(PyObject *module)
17316-
/*[clinic end generated code: output=525aca4ef3c6149f input=fc531701930d064f]*/
17316+
/*[clinic end generated code: output=525aca4ef3c6149f input=b5018fa1ec3aa440]*/
1731717317
{
1731817318
int result = 0;
1731917319
if (PyOS_InputHook) {
@@ -17327,12 +17327,12 @@ os__inputhook_impl(PyObject *module)
1732717327
/*[clinic input]
1732817328
os._is_inputhook_installed
1732917329
17330-
Checks if PyOS_CallInputHook is set
17330+
Checks if PyOS_InputHook is set
1733117331
[clinic start generated code]*/
1733217332

1733317333
static PyObject *
1733417334
os__is_inputhook_installed_impl(PyObject *module)
17335-
/*[clinic end generated code: output=3b3eab4f672c689a input=ff177c9938dd76d8]*/
17335+
/*[clinic end generated code: output=3b3eab4f672c689a input=757820f79f48820c]*/
1733617336
{
1733717337
return PyBool_FromLong(PyOS_InputHook != NULL);
1733817338
}

0 commit comments

Comments
 (0)