From d59efbccf1afef655d2525ffd9239a62ef26a33a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 30 Mar 2009 22:09:34 +0000 Subject: #5199: make warning about vars() assignment more visible. --- Doc/library/functions.rst | 8 ++++++-- 1 file 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]) -- cgit v0.12