[issue11163] iter() documentation code doesn't work

2013-09-11 Thread purplezephyr

purplezephyr added the comment:

This does not seem to have been changed in any version, per msg135246.  If it's 
not going to be replaced, there's another issue, which is that the link to 
readline() in the text is incorrect - it goes to the readline module, not 
file.readline().

--
nosy: +purplezephyr

___
Python tracker 
<http://bugs.python.org/issue11163>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18790] incorrect text in argparse add_help example

2013-08-20 Thread purplezephyr

New submission from purplezephyr:

The last example under add_help in the documentation for the argparse module 
has incorrect text.  It is supposed to demonstrate what happens when 
prefix_chars doesn't include '-', and add_help is True, but the example has the 
following:

  usage: PROG [-h]

  optional arguments:
-h, --help  show this help message and exit

instead of:

  usage: PROG [+h]

  optional arguments:
+h, ++help  show this help message and exit

--
assignee: docs@python
components: Documentation
messages: 195710
nosy: docs@python, purplezephyr
priority: normal
severity: normal
status: open
title: incorrect text in argparse add_help example
versions: Python 2.7, Python 3.3

___
Python tracker 
<http://bugs.python.org/issue18790>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com