mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-43672: raise ImportWarning when calling find_loader() (GH-25119)
This commit is contained in:
parent
ad442a674c
commit
f97dc80068
13 changed files with 610 additions and 616 deletions
|
@ -904,7 +904,8 @@ a list containing the portion.
|
|||
``find_loader()`` in preference to ``find_module()``.
|
||||
|
||||
.. versionchanged:: 3.10
|
||||
Calls to :meth:`~importlib.abc.PathEntryFinder.find_module` by the import
|
||||
Calls to :meth:`~importlib.abc.PathEntryFinder.find_module` and
|
||||
:meth:`~importlib.abc.PathEntryFinder.find_loader` by the import
|
||||
system will raise :exc:`ImportWarning`.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue