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
af8a4dfb
Kaydet (Commit)
af8a4dfb
authored
Nis 08, 2014
tarafından
Yury Selivanov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
docs: Better wording for __objclass__ docs. Issue #19281
üst
d3f918ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
datamodel.rst
Doc/reference/datamodel.rst
+6
-6
No files found.
Doc/reference/datamodel.rst
Dosyayı görüntüle @
af8a4dfb
...
...
@@ -1467,12 +1467,12 @@ class' :attr:`__dict__`.
Called to delete the attribute on an instance *instance* of the owner class.
The
:attr:`__objclass__` is interpreted by the :mod:`inspect` module as
specifying the class where this object was defined (setting this appropriately
can assist in runtime introspection of dynamic class attributes). For callables,
it may indicate that an instance of the given type (or a subclass) is expected
or required as the first positional argument (for example, CPython sets this
attribute for unbound methods that are implemented in C).
The
attribute :attr:`__objclass__` is interpreted by the :mod:`inspect` module
as specifying the class where this object was defined (setting this
appropriately can assist in runtime introspection of dynamic class attributes).
For callables, it may indicate that an instance of the given type (or a
subclass) is expected or required as the first positional argument (for example,
CPython sets this
attribute for unbound methods that are implemented in C).
.. _descriptor-invocation:
...
...
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