[Python-checkins] r70765 - python/trunk/Doc/library/functions.rst
georg.brandl
python-checkins at python.org
Tue Mar 31 00:09:34 CEST 2009
Author: georg.brandl
Date: Tue Mar 31 00:09:34 2009
New Revision: 70765
Log:
#5199: make warning about vars() assignment more visible.
Modified:
python/trunk/Doc/library/functions.rst
Modified: python/trunk/Doc/library/functions.rst
==============================================================================
--- python/trunk/Doc/library/functions.rst (original)
+++ python/trunk/Doc/library/functions.rst Tue Mar 31 00:09:34 2009
@@ -1352,8 +1352,12 @@
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])
More information about the Python-checkins
mailing list