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
472a65a7
Kaydet (Commit)
472a65a7
authored
Kas 24, 2013
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix a few markup problems in the new import doc.
üst
08facd20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
import.rst
Doc/reference/import.rst
+4
-2
No files found.
Doc/reference/import.rst
Dosyayı görüntüle @
472a65a7
...
@@ -231,7 +231,7 @@ The import machinery is extensible, so new finders can be added to extend the
...
@@ -231,7 +231,7 @@ The import machinery is extensible, so new finders can be added to extend the
range
and
scope
of
module
searching
.
range
and
scope
of
module
searching
.
Finders
do
not
actually
load
modules
.
If
they
can
find
the
named
module
,
they
Finders
do
not
actually
load
modules
.
If
they
can
find
the
named
module
,
they
return
a
:
term
:`
module
spec
`,
an
encapsulation
of
the
module
's import-related
return
a
:
dfn
:`
module
spec
`,
an
encapsulation
of
the
module
's import-related
information, which the import machinery then uses when loading the module.
information, which the import machinery then uses when loading the module.
The following sections describe the protocol for finders and loaders in more
The following sections describe the protocol for finders and loaders in more
...
@@ -381,7 +381,7 @@ Note the following details:
...
@@ -381,7 +381,7 @@ Note the following details:
* After the module is created but before execution, the import machinery
* After the module is created but before execution, the import machinery
sets the import-related module attributes ("init_module_attrs"), as
sets the import-related module attributes ("init_module_attrs"), as
summarized in a
`later section <Import-related module attributes>`_
.
summarized in a
:ref:`later section <import-mod-attrs>`
.
* Module execution is the key moment of loading in which the module'
s
* Module execution is the key moment of loading in which the module'
s
namespace
gets
populated
.
Execution
is
entirely
delegated
to
the
namespace
gets
populated
.
Execution
is
entirely
delegated
to
the
...
@@ -474,6 +474,8 @@ information a module's spec may hold.
...
@@ -474,6 +474,8 @@ information a module's spec may hold.
..
versionadded
::
3.4
..
versionadded
::
3.4
..
_import
-
mod
-
attrs
:
Import
-
related
module
attributes
Import
-
related
module
attributes
--------------------------------
--------------------------------
...
...
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