We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e23d5a6 commit 36c6d2fCopy full SHA for 36c6d2f
1 file changed
tests/basics/builtin_minmax.py
@@ -35,3 +35,5 @@
35
print(min([], default=-1))
36
print(max([1, 2, 3, 4, 5], default=-1))
37
print(max([], default=-1))
38
+# Make sure it works with lazy iterables
39
+print(min((i for i in []), default=-10))
0 commit comments