Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

I agree that the documentation now should use Booleans rather than ints for the 
return type. It's a hangover from the pre-bool days of Python 1.5.2 ...

> P.S. As a side note, the API for filter() is quite counter-intuitive

That depends on if you consider the "filter" operation as "filter in" or 
"filter out", but the documentation is clear on what needs to be returned for a 
particular outcome.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42011>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to