Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
3303b6ab
Kaydet (Commit)
3303b6ab
authored
Şub 06, 2014
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge for issue #20488
üst
f811bbfe
07fbd784
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
importlib.rst
Doc/library/importlib.rst
+8
-6
NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/importlib.rst
Dosyayı görüntüle @
3303b6ab
:
mod
:`
importlib
`
--
An
implementation
of
:
keyword
:`
import
`
==========================================================
:
mod
:`
importlib
`
--
The
implementation
of
:
keyword
:`
import
`
==========================================================
=
..
module
::
importlib
:
synopsis
:
An
implementation
of
the
import
machinery
.
:
synopsis
:
The
implementation
of
the
import
machinery
.
..
moduleauthor
::
Brett
Cannon
<
brett
@
python
.
org
>
..
sectionauthor
::
Brett
Cannon
<
brett
@
python
.
org
>
...
...
@@ -13,17 +13,16 @@
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
:
func
:`
__import__
`
function
)
in
Python
source
code
.
This
provides
an
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
.
Two
,
the
components
to
implement
:
keyword
:`
import
`
are
exposed
in
this
package
,
making
it
easier
for
users
to
create
their
own
custom
objects
(
known
generically
as
an
:
term
:`
importer
`)
to
participate
in
the
import
process
.
Details
on
custom
importers
can
be
found
in
:
pep
:`
302
`.
..
seealso
::
...
...
@@ -53,6 +52,9 @@ Details on custom importers can be found in :pep:`302`.
:
pep
:`
366
`
Main
module
explicit
relative
imports
:
pep
:`
451
`
A
ModuleSpec
Type
for
the
Import
System
:
pep
:`
3120
`
Using
UTF
-
8
as
the
Default
Source
Encoding
...
...
Misc/NEWS
Dosyayı görüntüle @
3303b6ab
...
...
@@ -166,6 +166,9 @@ Build
Documentation
-------------
-
Issue
#
20488
:
Change
wording
to
say
importlib
is
*
the
*
implementation
of
import
instead
of
just
*
an
*
implementation
.
-
Issue
#
6386
:
Clarify
in
the
tutorial
that
specifying
a
symlink
to
execute
means
the
directory
containing
the
executed
script
and
not
the
symlink
is
added
to
sys
.
path
.
...
...
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