We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a4d653 commit cf82a25Copy full SHA for cf82a25
tests/snippets/builtin_any.py
@@ -0,0 +1,9 @@
1
+def anything(a):
2
+ return a
3
+
4
+class Test:
5
+ def __iter__(self):
6
+ while True:
7
+ yield True
8
9
+assert True == any(map(anything, Test()))
0 commit comments