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
d9d7567e
Kaydet (Commit)
d9d7567e
authored
Haz 11, 2014
tarafından
Larry Hastings
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #21629: Merge from 3.4.
üst
99537627
f150378e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
NEWS
Misc/NEWS
+2
-0
clinic.py
Tools/clinic/clinic.py
+1
-3
No files found.
Misc/NEWS
Dosyayı görüntüle @
d9d7567e
...
@@ -623,6 +623,8 @@ Tests
...
@@ -623,6 +623,8 @@ Tests
Tools/Demos
Tools/Demos
-----------
-----------
- Issue #21629: Fix Argument Clinic'
s
"--converters"
feature
.
-
Add
support
for
``
yield
from
``
to
2
to3
.
-
Add
support
for
``
yield
from
``
to
2
to3
.
-
Add
support
for
the
PEP
465
matrix
multiplication
operator
to
2
to3
.
-
Add
support
for
the
PEP
465
matrix
multiplication
operator
to
2
to3
.
...
...
Tools/clinic/clinic.py
Dosyayı görüntüle @
d9d7567e
...
@@ -2044,11 +2044,9 @@ def add_default_legacy_c_converter(cls):
...
@@ -2044,11 +2044,9 @@ def add_default_legacy_c_converter(cls):
# automatically add converter for default format unit
# automatically add converter for default format unit
# (but without stomping on the existing one if it's already
# (but without stomping on the existing one if it's already
# set, in case you subclass)
# set, in case you subclass)
if
((
cls
.
format_unit
!=
'O&'
)
and
if
((
cls
.
format_unit
not
in
(
'O&'
,
''
)
)
and
(
cls
.
format_unit
not
in
legacy_converters
)):
(
cls
.
format_unit
not
in
legacy_converters
)):
legacy_converters
[
cls
.
format_unit
]
=
cls
legacy_converters
[
cls
.
format_unit
]
=
cls
if
cls
.
format_unit
:
legacy_converters
[
cls
.
format_unit
]
=
cls
return
cls
return
cls
def
add_legacy_c_converter
(
format_unit
,
**
kwargs
):
def
add_legacy_c_converter
(
format_unit
,
**
kwargs
):
...
...
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