diff options
author | Georg Brandl <georg@python.org> | 2008-01-07 18:57:03 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-01-07 18:57:03 (GMT) |
commit | 61d2886491944a50fa888ff23f4c1058136320a1 (patch) | |
tree | 22f13260d0d1a9ad673585631e4607c1954693aa | |
parent | 1b0ebb168d283d7676753bf4f01e1f0a8ef5346f (diff) | |
download | cpython-61d2886491944a50fa888ff23f4c1058136320a1.zip cpython-61d2886491944a50fa888ff23f4c1058136320a1.tar.gz cpython-61d2886491944a50fa888ff23f4c1058136320a1.tar.bz2 |
Fix two further doc build warnings.
-rw-r--r-- | Doc/library/stdtypes.rst | 3 | ||||
-rw-r--r-- | Doc/using/cmdline.rst | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index de0a780..73aefad 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -469,8 +469,9 @@ the iteration methods. 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 diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 12aa0f2..cee79d9 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -441,10 +441,10 @@ These environment variables influence Python's behavior. 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 |