Document vars behavior when __dict__ is missing (#21466)

This commit is contained in:
Andre Delfino 2020-08-21 19:29:34 -03:00 committed by GitHub
parent 7173fc84e6
commit 802726acf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1734,6 +1734,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, strict=False)