mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-45855: Replaced deprecated PyImport_ImportModuleNoBlock
with PyImport_ImportModule (GH-30046)
This commit is contained in:
parent
e6fe10d340
commit
41026c3155
12 changed files with 17 additions and 16 deletions
|
@ -3959,7 +3959,7 @@ static int
|
|||
update_lines_cols(void)
|
||||
{
|
||||
PyObject *o;
|
||||
PyObject *m = PyImport_ImportModuleNoBlock("curses");
|
||||
PyObject *m = PyImport_ImportModule("curses");
|
||||
_Py_IDENTIFIER(LINES);
|
||||
_Py_IDENTIFIER(COLS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue