classification
Title: library documentation errors
Type: Stage:
Components: Documentation Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: LambertDW, benjamin.peterson, georg.brandl
Priority: normal Keywords:

Created on 2008-10-24 18:47 by LambertDW, last changed 2008-10-24 22:29 by benjamin.peterson. This issue is now closed.

Messages (2)
msg75176 - (view) Author: David W. Lambert (LambertDW) Date: 2008-10-24 18:47
4 problems noted here.

Thanks, Dave.

1,2---problems 1 & 2 concern py<3k references:

http://docs.python.org/dev/3.0/library/multiprocessing.html


1) "apply(func[, args[, kwds]])
Equivalent of the apply() builtin function. It blocks till the result 
is ready."

Of course there isn't any longer an "apply" builtin.


2) "imap(func, iterable[, chunksize])
An equivalent of itertools.imap()."

Likewise, there's no "itertools.imap".  Perhaps use 
itertools.some_sort_of_truncating_wrapper(itertools.zip_longest(...))?


This brings us to the itertools problem.


3,4---problems 3 & 4 concern "izip" in: 

http://docs.python.org/dev/3.0/library/itertools.html

This mentions "izip_longest()", but there isn't an "izip_anything" in 
py3k itertools.  Searching the page for the string "izip" produces two 
separate occurrences.  izip_longest -> zip_longest but I don't know 
how to fix the other one.
msg75192 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-10-24 22:29
Thanks for the report! Fixed in r67011.
History
Date User Action Args
2008-10-24 22:29:15benjamin.petersonsetstatus: open -> closed
nosy: + benjamin.peterson
resolution: fixed
messages: + msg75192
2008-10-24 18:47:36LambertDWcreate