mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#5199: make warning about vars() assignment more visible.
This commit is contained in:
parent
649fae1ec3
commit
d59efbccf1
1 changed files with 6 additions and 2 deletions
|
@ -1352,8 +1352,12 @@ available. They are listed here in alphabetical order.
|
||||||
Without arguments, return a dictionary corresponding to the current local symbol
|
Without arguments, return a dictionary corresponding to the current local symbol
|
||||||
table. With a module, class or class instance object as argument (or anything
|
table. With a module, class or class instance object as argument (or anything
|
||||||
else that has a :attr:`__dict__` attribute), returns a dictionary corresponding
|
else that has a :attr:`__dict__` attribute), returns a dictionary corresponding
|
||||||
to the object's symbol table. The returned dictionary should not be modified:
|
to the object's symbol table.
|
||||||
the effects on the corresponding symbol table are undefined. [#]_
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
The returned dictionary should not be modified:
|
||||||
|
the effects on the corresponding symbol table are undefined. [#]_
|
||||||
|
|
||||||
|
|
||||||
.. function:: xrange([start,] stop[, step])
|
.. function:: xrange([start,] stop[, step])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue