mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-16 19:31:25 +08:00
probably half of the tests are running again.
This commit is contained in:
1 parent
3ae7d3f278
commit
673cb30ee8
4 files changed
+25
-5
No files matched your search
@@ -210,3 +210,18 @@ tuple(lst)[0]
|
||||
# but not with an iterator
|
||||
#?
|
||||
iter(lst)[0]
|
||||
|
||||
# -----------------
|
||||
# functions
|
||||
# -----------------
|
||||
|
||||
def arr_append(arr, a):
|
||||
arr.append(a)
|
||||
|
||||
def add_to_arr(arr, a):
|
||||
arr.append(a)
|
||||
return arr
|
||||
|
||||
a = [1.0]
|
||||
#? int()
|
||||
add_to_arr(a, 1)[0]
|
||||
Reference in new issue
Block a user