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
de88b88b
Kaydet (Commit)
de88b88b
authored
Eyl 18, 2014
tarafından
Berker Peksag
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #14824: Update Repr.repr_TYPE documentation to use correct name mangling implementation.
Patch by Chris Rebert.
üst
60efd79d
2d510e3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
reprlib.rst
Doc/library/reprlib.rst
+3
-3
No files found.
Doc/library/reprlib.rst
Dosyayı görüntüle @
de88b88b
...
@@ -129,9 +129,9 @@ which format specific object types.
...
@@ -129,9 +129,9 @@ which format specific object types.
Formatting methods for specific types are implemented as methods with a name
Formatting methods for specific types are implemented as methods with a name
based on the type name. In the method name, **TYPE** is replaced by
based on the type name. In the method name, **TYPE** is replaced by
``
string.join(string.split(type(obj).__name__, '_'))``. Dispatch to these
``
'_'.join(type(obj).__name__.split())``. Dispatch to these methods is
methods is handled by :meth:`repr1`. Type-specific methods which need to
handled by :meth:`repr1`. Type-specific methods which need to recursively
recursively
format a value should call ``self.repr1(subobj, level - 1)``.
format a value should call ``self.repr1(subobj, level - 1)``.
.. _subclassing-reprs:
.. _subclassing-reprs:
...
...
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