mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-31 02:15:23 +08:00
sorted builtin should now be working, fixes #312
This commit is contained in:
@@ -199,6 +199,10 @@ class reversed():
|
||||
return self.__next__()
|
||||
|
||||
|
||||
def sorted(iterable, cmp=None, key=None, reverse=False):
|
||||
return iterable
|
||||
|
||||
|
||||
#--------------------------------------------------------
|
||||
# basic types
|
||||
#--------------------------------------------------------
|
||||
|
||||
@@ -7,7 +7,7 @@ std library stuff
|
||||
# -----------------
|
||||
arr = ['']
|
||||
|
||||
#? int()
|
||||
#? str()
|
||||
sorted(arr)[0]
|
||||
|
||||
#? str()
|
||||
|
||||
Reference in New Issue
Block a user