[issue3085] chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error

Jan Huelsbergen report at bugs.python.org
Thu Jun 12 01:01:27 CEST 2008


New submission from Jan Huelsbergen <afoo42 at gmail.com>:

the 'from' examples contain non-keyword args after keyword args:

pipe = os.popen(cmd, mode='r', bufsize)

should be

pipe = os.popen(cmd, 'r', bufsize)

and

pipe = os.popen(cmd, mode='w', bufsize)

should be

pipe = os.popen(cmd, 'w', bufsize)

----------
assignee: georg.brandl
components: Documentation
messages: 68032
nosy: afoo, georg.brandl
severity: normal
status: open
title: chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error
type: feature request
versions: Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3085>
_______________________________________


More information about the Python-bugs-list mailing list