Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
07fbd784
Commit
07fbd784
authored
Feb 06, 2014
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #20488: Update docs to say importlib is *the* implementaiton of
import and not *an* implementation.
parent
5b4fab1a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
Doc/library/importlib.rst
Doc/library/importlib.rst
+8
-6
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/importlib.rst
View file @
07fbd784
:
mod
:`
importlib
`
--
An
implementation
of
:
keyword
:`
import
`
:
mod
:`
importlib
`
--
The
implementation
of
:
keyword
:`
import
`
==========================================================
==========================================================
=
..
module
::
importlib
..
module
::
importlib
:
synopsis
:
An
implementation
of
the
import
machinery
.
:
synopsis
:
The
implementation
of
the
import
machinery
.
..
moduleauthor
::
Brett
Cannon
<
brett
@
python
.
org
>
..
moduleauthor
::
Brett
Cannon
<
brett
@
python
.
org
>
..
sectionauthor
::
Brett
Cannon
<
brett
@
python
.
org
>
..
sectionauthor
::
Brett
Cannon
<
brett
@
python
.
org
>
...
@@ -13,17 +13,16 @@
...
@@ -13,17 +13,16 @@
Introduction
Introduction
------------
------------
The
purpose
of
the
:
mod
:`
importlib
`
package
is
two
-
fold
.
One
is
to
provide
an
The
purpose
of
the
:
mod
:`
importlib
`
package
is
two
-
fold
.
One
is
to
provide
the
implementation
of
the
:
keyword
:`
import
`
statement
(
and
thus
,
by
extension
,
the
implementation
of
the
:
keyword
:`
import
`
statement
(
and
thus
,
by
extension
,
the
:
func
:`
__import__
`
function
)
in
Python
source
code
.
This
provides
an
:
func
:`
__import__
`
function
)
in
Python
source
code
.
This
provides
an
implementation
of
:
keyword
:`
import
`
which
is
portable
to
any
Python
implementation
of
:
keyword
:`
import
`
which
is
portable
to
any
Python
interpreter
.
This
also
provides
a
reference
implementation
which
is
easier
to
interpreter
.
This
also
provides
a
n
implementation
which
is
easier
to
comprehend
than
one
implemented
in
a
programming
language
other
than
Python
.
comprehend
than
one
implemented
in
a
programming
language
other
than
Python
.
Two
,
the
components
to
implement
:
keyword
:`
import
`
are
exposed
in
this
Two
,
the
components
to
implement
:
keyword
:`
import
`
are
exposed
in
this
package
,
making
it
easier
for
users
to
create
their
own
custom
objects
(
known
package
,
making
it
easier
for
users
to
create
their
own
custom
objects
(
known
generically
as
an
:
term
:`
importer
`)
to
participate
in
the
import
process
.
generically
as
an
:
term
:`
importer
`)
to
participate
in
the
import
process
.
Details
on
custom
importers
can
be
found
in
:
pep
:`
302
`.
..
seealso
::
..
seealso
::
...
@@ -53,6 +52,9 @@ Details on custom importers can be found in :pep:`302`.
...
@@ -53,6 +52,9 @@ Details on custom importers can be found in :pep:`302`.
:
pep
:`
366
`
:
pep
:`
366
`
Main
module
explicit
relative
imports
Main
module
explicit
relative
imports
:
pep
:`
451
`
A
ModuleSpec
Type
for
the
Import
System
:
pep
:`
3120
`
:
pep
:`
3120
`
Using
UTF
-
8
as
the
Default
Source
Encoding
Using
UTF
-
8
as
the
Default
Source
Encoding
...
...
Misc/NEWS
View file @
07fbd784
...
@@ -379,6 +379,9 @@ Tests
...
@@ -379,6 +379,9 @@ Tests
Documentation
Documentation
-------------
-------------
- Issue #20488: Importlib is no longer *an* implementation of import, it'
s
*
the
*
implementation
.
-
Issue
#
20265
:
Updated
some
parts
of
the
Using
Windows
document
.
-
Issue
#
20265
:
Updated
some
parts
of
the
Using
Windows
document
.
-
Issue
#
20266
:
Updated
some
parts
of
the
Windows
FAQ
.
-
Issue
#
20266
:
Updated
some
parts
of
the
Windows
FAQ
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment