diff options
author | Georg Brandl <georg@python.org> | 2009-03-30 22:09:34 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-03-30 22:09:34 (GMT) |
commit | d59efbccf1afef655d2525ffd9239a62ef26a33a (patch) | |
tree | 171e8a20d88e07482f487592fcdcdb6e07af1e89 | |
parent | 649fae1ec32852adc07c7c36e91edf4b5e9496d3 (diff) | |
download | cpython-d59efbccf1afef655d2525ffd9239a62ef26a33a.zip cpython-d59efbccf1afef655d2525ffd9239a62ef26a33a.tar.gz cpython-d59efbccf1afef655d2525ffd9239a62ef26a33a.tar.bz2 |
#5199: make warning about vars() assignment more visible.
-rw-r--r-- | Doc/library/functions.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 0497d45..c19462c 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1352,8 +1352,12 @@ available. They are listed here in alphabetical order. Without arguments, return a dictionary corresponding to the current local symbol table. With a module, class or class instance object as argument (or anything else that has a :attr:`__dict__` attribute), returns a dictionary corresponding - to the object's symbol table. The returned dictionary should not be modified: - the effects on the corresponding symbol table are undefined. [#]_ + to the object's symbol table. + + .. warning:: + + The returned dictionary should not be modified: + the effects on the corresponding symbol table are undefined. [#]_ .. function:: xrange([start,] stop[, step]) |