From: Georg Brandl Date: Mon, 30 Mar 2009 22:09:34 +0000 (+0000) Subject: #5199: make warning about vars() assignment more visible. X-Git-Tag: v2.7a1~1731 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d59efbccf1afef655d2525ffd9239a62ef26a33a;p=thirdparty%2FPython%2Fcpython.git #5199: make warning about vars() assignment more visible. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 0497d456b043..c19462c2bbad 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])