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
07d126f0
Kaydet (Commit)
07d126f0
authored
Kas 29, 2012
tarafından
Andrew Svetlov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge heads
üst
256aaf7b
6a5c2e64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
imp.rst
Doc/library/imp.rst
+11
-0
No files found.
Doc/library/imp.rst
Dosyayı görüntüle @
07d126f0
...
@@ -237,6 +237,17 @@ around for backward compatibility:
...
@@ -237,6 +237,17 @@ around for backward compatibility:
using shared libraries is highly system dependent, and not all systems support
using shared libraries is highly system dependent, and not all systems support
it.)
it.)
.. impl-detail::
The import internals identify extension modules by filename, so doing
``foo = load_dynamic("foo", "mod.so")`` and
``bar = load_dynamic("bar", "mod.so")`` will result in both foo and bar
referring to the same module, regardless of whether or not
``mod.so`` exports an ``initbar`` function. On systems which
support them, symlinks can be used to import multiple modules from
the same shared library, as each reference to the module will use
a different file name.
.. function:: load_source(name, pathname[, file])
.. function:: load_source(name, pathname[, file])
...
...
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