]> granicus.if.org Git - python/commitdiff
#5199: make warning about vars() assignment more visible.
authorGeorg Brandl <georg@python.org>
Mon, 30 Mar 2009 22:09:34 +0000 (22:09 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 30 Mar 2009 22:09:34 +0000 (22:09 +0000)
Doc/library/functions.rst

index 0497d456b0431e1e199c92cdc7c95af5f8c8d5ae..c19462c2bbad08e8d05360999ce80e4d5d444273 100644 (file)
@@ -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])