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
697fd46d
Kaydet (Commit)
697fd46d
authored
Haz 02, 2013
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge
üst
88249b80
d7100174
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
functions.rst
Doc/library/functions.rst
+10
-10
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
697fd46d
...
@@ -1365,14 +1365,18 @@ are always available. They are listed here in alphabetical order.
...
@@ -1365,14 +1365,18 @@ are always available. They are listed here in alphabetical order.
.. function:: vars([object])
.. function:: vars([object])
Without an argument, act like :func:`locals`.
Return the :attr:`__dict__` attribute for a module, class, instance,
or any other object with a :attr:`__dict__` attribute.
With a module, class or class instance object as argument (or anything else that
Objects such as modules and instances have an updateable :attr:`__dict__`
has a :attr:`__dict__` attribute), return that attribute.
attribute; however, other objects may have write restrictions on their
:attr:`__dict__` attributes (for example, classes use a
dictproxy to prevent direct dictionary updates).
Without an argument, :func:`vars` acts like :func:`locals`. Note, the
locals dictionary is only useful for reads since updates to the locals
dictionary are ignored.
.. note::
The returned dictionary should not be modified:
the effects on the corresponding symbol table are undefined. [#]_
.. function:: zip(*iterables)
.. function:: zip(*iterables)
...
@@ -1491,7 +1495,3 @@ are always available. They are listed here in alphabetical order.
...
@@ -1491,7 +1495,3 @@ are always available. They are listed here in alphabetical order.
.. [#] Note that the parser only accepts the Unix-style end of line convention.
.. [#] Note that the parser only accepts the Unix-style end of line convention.
If you are reading the code from a file, make sure to use newline conversion
If you are reading the code from a file, make sure to use newline conversion
mode to convert Windows or Mac-style newlines.
mode to convert Windows or Mac-style newlines.
.. [#] In the current implementation, local variable bindings cannot normally be
affected this way, but variables retrieved from other scopes (such as modules)
can be. This may change.
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