sorted builtin should now be working, fixes #312

This commit is contained in:
David Halter
2013-09-06 13:33:15 +04:30
parent b18cafa8f8
commit 648095ad52
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -199,6 +199,10 @@ class reversed():
return self.__next__() return self.__next__()
def sorted(iterable, cmp=None, key=None, reverse=False):
return iterable
#-------------------------------------------------------- #--------------------------------------------------------
# basic types # basic types
#-------------------------------------------------------- #--------------------------------------------------------
+1 -1
View File
@@ -7,7 +7,7 @@ std library stuff
# ----------------- # -----------------
arr = [''] arr = ['']
#? int() #? str()
sorted(arr)[0] sorted(arr)[0]
#? str() #? str()