test for #312, sorted/reversed builtins
This commit is contained in:
1 parent
2deccb6d66
commit
b18cafa8f8
1 file changed
+11
@@ -2,6 +2,17 @@
|
|||||||
std library stuff
|
std library stuff
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# -----------------
|
||||||
|
# builtins
|
||||||
|
# -----------------
|
||||||
|
arr = ['']
|
||||||
|
|
||||||
|
#? int()
|
||||||
|
sorted(arr)[0]
|
||||||
|
|
||||||
|
#? str()
|
||||||
|
next(reversed(arr))
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# re
|
# re
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|||||||
Reference in new issue
Block a user