Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2375)

Delta Between Two Patch Sets: Doc/library/importlib.rst

Issue 18864: Implementation for PEP 451 (importlib.machinery.ModuleSpec)
Left Patch Set: Created 5 years, 7 months ago
Right Patch Set: Created 5 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | Lib/importlib/_bootstrap.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 :mod:`importlib` -- An implementation of :keyword:`import` 1 :mod:`importlib` -- An implementation of :keyword:`import`
2 ========================================================== 2 ==========================================================
3 3
4 .. module:: importlib 4 .. module:: importlib
5 :synopsis: An implementation of the import machinery. 5 :synopsis: An implementation of the import machinery.
6 6
7 .. moduleauthor:: Brett Cannon <brett@python.org> 7 .. moduleauthor:: Brett Cannon <brett@python.org>
8 .. sectionauthor:: Brett Cannon <brett@python.org> 8 .. sectionauthor:: Brett Cannon <brett@python.org>
9 9
10 .. versionadded:: 3.1 10 .. versionadded:: 3.1
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 894
895 .. attribute:: parent 895 .. attribute:: parent
896 896
897 (``__package__``) 897 (``__package__``)
898 898
899 (Read-only) Fully-qualified name of the package to which the module 899 (Read-only) Fully-qualified name of the package to which the module
900 belongs as a submodule (or None). 900 belongs as a submodule (or None).
901 901
902 .. attribute:: has_location 902 .. attribute:: has_location
903 903
904 (Read-only) Boolean indicating whether or not the module's "origin" 904 Boolean indicating whether or not the module's "origin"
905 attribute refers to a loadable location. 905 attribute refers to a loadable location.
906 906
907 :mod:`importlib.util` -- Utility code for importers 907 :mod:`importlib.util` -- Utility code for importers
908 --------------------------------------------------- 908 ---------------------------------------------------
909 909
910 .. module:: importlib.util 910 .. module:: importlib.util
911 :synopsis: Utility code for importers 911 :synopsis: Utility code for importers
912 912
913 This module contains the various objects that help in the construction of 913 This module contains the various objects that help in the construction of
914 an :term:`importer`. 914 an :term:`importer`.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 .. versionadded:: 3.4 1039 .. versionadded:: 3.4
1040 1040
1041 .. function:: spec_from_file_location(name, location, *, loader=None, submodule_ search_locations=None) 1041 .. function:: spec_from_file_location(name, location, *, loader=None, submodule_ search_locations=None)
1042 1042
1043 A factory function for creating a :class:`ModuleSpec` instance based 1043 A factory function for creating a :class:`ModuleSpec` instance based
1044 on the path to a file. Missing information will be filled in on the 1044 on the path to a file. Missing information will be filled in on the
1045 spec by making use of loader APIs and by the implication that the 1045 spec by making use of loader APIs and by the implication that the
1046 module will be file-based. 1046 module will be file-based.
1047 1047
1048 .. versionadded:: 3.4 1048 .. versionadded:: 3.4
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+