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
0472217d
Kaydet (Commit)
0472217d
authored
May 27, 2016
tarafından
Eric Snow
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #27138: Fix the doc comment for FileFinder.find_spec().
üst
5677aa75
fc36e66a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
_bootstrap_external.py
Lib/importlib/_bootstrap_external.py
+2
-2
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/importlib/_bootstrap_external.py
Dosyayı görüntüle @
0472217d
...
...
@@ -1215,8 +1215,8 @@ class FileFinder:
submodule_search_locations
=
smsl
)
def
find_spec
(
self
,
fullname
,
target
=
None
):
"""Try to find a
loader for the specified module, or the namespac
e
package portions. Returns (loader, list-of-portions)
."""
"""Try to find a
spec for the specified module. Returns th
e
matching spec, or None if not found
."""
is_namespace
=
False
tail_module
=
fullname
.
rpartition
(
'.'
)[
2
]
try
:
...
...
Misc/NEWS
Dosyayı görüntüle @
0472217d
...
...
@@ -103,6 +103,8 @@ Core and Builtins
-
Issue
#
26718
:
super
.
__init__
no
longer
leaks
memory
if
called
multiple
times
.
NOTE
:
A
direct
call
of
super
.
__init__
is
not
endorsed
!
-
Issue
#
27138
:
Fix
the
doc
comment
for
FileFinder
.
find_spec
().
-
Issue
#
25339
:
PYTHONIOENCODING
now
has
priority
over
locale
in
setting
the
error
handler
for
stdin
and
stdout
.
...
...
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