[Patches] [ python-Patches-1517490 ] Improve docs for builtin filter()

SourceForge.net noreply at sourceforge.net
Wed Jul 5 15:14:54 CEST 2006


Patches item #1517490, was opened at 2006-07-05 08:39
Message generated for change (Comment added) made by collinwinter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1517490&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Collin Winter (collinwinter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Improve docs for builtin filter()

Initial Comment:
The current (r47237) docs for the filter() builtin say
"If list is a string or a tuple, the result also has
that type". On first reading, it's unclear if "string"
means "str" or "str and unicode". The attached patch
for Doc/lib/libfuncs.tex makes this clear.

----------------------------------------------------------------------

>Comment By: Collin Winter (collinwinter)
Date: 2006-07-05 09:14

Message:
Logged In: YES 
user_id=1344176

The docs also state (misleadingly) that "all elements of
list that are false (zero or empty) are removed". The patch
has been updated to remove the "(zero or empty)" remark.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1517490&group_id=5470


More information about the Patches mailing list