Commit 9cbb97b2 authored by jdkandersson's avatar jdkandersson Committed by Steve Dower

bpo-37574: Mention helper functions for find_spec documentation (GH-14739)

parent 2ec70102
......@@ -274,6 +274,8 @@ ABC hierarchy::
parent package. If a spec cannot be found, ``None`` is returned.
When passed in, ``target`` is a module object that the finder may
use to make a more educated guess about what spec to return.
:func:`importlib.util.spec_from_loader` may be useful for implementing
concrete ``MetaPathFinders``.
.. versionadded:: 3.4
......@@ -323,7 +325,8 @@ ABC hierarchy::
within the :term:`path entry` to which it is assigned. If a spec
cannot be found, ``None`` is returned. When passed in, ``target``
is a module object that the finder may use to make a more educated
guess about what spec to return.
guess about what spec to return. :func:`importlib.util.spec_from_loader`
may be useful for implementing concrete ``PathEntryFinders``.
.. versionadded:: 3.4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment