mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-105396: Deprecate PyImport_ImportModuleNoBlock() function (#105397)
Deprecate the PyImport_ImportModuleNoBlock() function which is just an alias to PyImport_ImportModule() since Python 3.3.
This commit is contained in:
parent
a5f23d4110
commit
3e525d2212
5 changed files with 18 additions and 1 deletions
|
|
@ -38,6 +38,9 @@ Importing Modules
|
|||
to per-module locks for most purposes, so this function's special
|
||||
behaviour isn't needed anymore.
|
||||
|
||||
.. deprecated-removed:: 3.13 3.15
|
||||
Use :c:func:`PyImport_ImportModule` instead.
|
||||
|
||||
|
||||
.. c:function:: PyObject* PyImport_ImportModuleEx(const char *name, PyObject *globals, PyObject *locals, PyObject *fromlist)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue