[Python-checkins] r59836 - in python/trunk/Doc: library/stdtypes.rst using/cmdline.rst

georg.brandl python-checkins at python.org
Mon Jan 7 19:57:03 CET 2008


Author: georg.brandl
Date: Mon Jan  7 19:57:03 2008
New Revision: 59836

Modified:
   python/trunk/Doc/library/stdtypes.rst
   python/trunk/Doc/using/cmdline.rst
Log:
Fix two further doc build warnings.


Modified: python/trunk/Doc/library/stdtypes.rst
==============================================================================
--- python/trunk/Doc/library/stdtypes.rst	(original)
+++ python/trunk/Doc/library/stdtypes.rst	Mon Jan  7 19:57:03 2008
@@ -469,8 +469,9 @@
 One method needs to be defined for container objects to provide iteration
 support:
 
+.. XXX duplicated in reference/datamodel!
 
-.. method:: object.__iter__()
+.. method:: container.__iter__()
 
    Return an iterator object.  The object is required to support the iterator
    protocol described below.  If a container supports different types of

Modified: python/trunk/Doc/using/cmdline.rst
==============================================================================
--- python/trunk/Doc/using/cmdline.rst	(original)
+++ python/trunk/Doc/using/cmdline.rst	Mon Jan  7 19:57:03 2008
@@ -441,10 +441,10 @@
 
 
 Debug-mode variables
---------------------
+~~~~~~~~~~~~~~~~~~~~
 
 Setting these variables only has an effect in a debug build of Python, that is,
-if Python was configured with the :opt:`--with-pydebug` build option.
+if Python was configured with the :option:`--with-pydebug` build option.
 
 .. envvar:: PYTHONTHREADDEBUG
 


More information about the Python-checkins mailing list