[docs] [issue37574] Mention spec_from_loader() in Finder.find_spec() docs.
Eric Snow
report at bugs.python.org
Fri Jul 12 14:16:31 EDT 2019
New submission from Eric Snow <ericsnowcurrently at gmail.com>:
When writing an importer, the finder (either MetaPathFinder or PathEntryFinder) must implement `find_spec()`. A useful tool for that is the existing `spec_from_loader()`. [1] The docs for `MetaPathFinder.find_spec()` and `PathEntryFinder.find_spec()` should mention it.
[1] (https://docs.python.org/3/library/importlib.html#importlib.util.spec_from_loader
----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 347750
nosy: docs at python, eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: Mention spec_from_loader() in Finder.find_spec() docs.
type: enhancement
versions: Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37574>
_______________________________________
More information about the docs
mailing list