mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Document vars behavior when __dict__ is missing (GH-21466) (GH-21939)
(cherry picked from commit 802726acf6
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
This commit is contained in:
parent
72d5ddb930
commit
d7cd1164c1
1 changed files with 3 additions and 0 deletions
|
@ -1720,6 +1720,9 @@ are always available. They are listed here in alphabetical order.
|
|||
locals dictionary is only useful for reads since updates to the locals
|
||||
dictionary are ignored.
|
||||
|
||||
A :exc:`TypeError` exception is raised if an object is specified but
|
||||
it doesn't have a :attr:`~object.__dict__` attribute (for example, if
|
||||
its class defines the :attr:`~object.__slots__` attribute).
|
||||
|
||||
.. function:: zip(*iterables)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue