Kaydet (Commit) b3d6fe33 authored tarafından Georg Brandl's avatar Georg Brandl

Small logical fix in filter() example description.

üst 96426886
......@@ -171,7 +171,7 @@ There are three built-in functions that are very useful when used with lists:
the sequence for which ``function(item)`` is true. If *sequence* is a
:class:`string` or :class:`tuple`, the result will be of the same type;
otherwise, it is always a :class:`list`. For example, to compute a sequence of
numbers not divisible by 2 and 3::
numbers not divisible by 2 or 3::
>>> def f(x): return x % 2 != 0 and x % 3 != 0
...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment