FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/tests/parser/function_def2.py at main · sainivedh/lpython · GitHub
sainivedh
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
tests
/
parser
/
function_def2.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
126 lines (91 loc) · 1.72 KB
Breadcrumbs
lpython
/
tests
/
parser
/
function_def2.py
Copy path
File metadata and controls
126 lines (91 loc) · 1.72 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
def
test_01
():
pass
def
test_02
(
*
x
:
i32
):
pass
def
test_03
(
*
x
,
y
,
z
):
pass
def
test_04
(
*
x
,
y
,
z
,
**
args
):
pass
def
test_05
(
*
x
,
**
args
):
pass
def
test_06
(
**
args
):
pass
def
test_07
(
x
:
i32
,
y
):
pass
def
test_08
(
x
,
*
y
):
pass
def
test_09
(
x
,
*
y
,
z
):
pass
def
test_10
(
x
,
*
y
,
z
,
**
args
:
i32
):
pass
def
test_11
(
x
,
*
y
,
**
args
):
pass
def
test_12
(
x
,
**
args
):
pass
def
test_13
(
x
:
i32
=
1
,
y
:
i32
=
1
):
pass
def
test_14
(
x
,
*
y
,
z
,
**
args
:
i32
)
->
i32
:
pass
def
test_15
(
a
,
/
):
pass
def
test_16
(
a
,
/
,
b
,
c
):
pass
def
test_17
(
a
,
/
,
*
b
):
pass
def
test_18
(
a
:
i32
,
/
,
*
b
:
i64
,
c
:
i32
,
d
:
i32
):
pass
def
test_19
(
a
,
/
,
*
b
,
c
,
**
d
):
pass
def
test_20
(
a
,
/
,
**
b
):
pass
def
test_21
(
a
,
/
,
*
b
,
**
c
):
pass
def
test_22
(
a
,
/
,
b
,
c
,
*
d
):
pass
def
test_23
(
a
,
/
,
b
,
c
,
**
d
):
pass
def
test_24
(
a
,
/
,
b
,
c
,
*
d
,
**
e
):
pass
def
test_25
(
a
,
/
,
b
,
c
,
*
d
,
e
,
**
f
):
pass
def
test_26
(
*
,
a
):
pass
def
test_27
(
*
,
a
,
**
b
):
pass
def
test_28
(
a
,
*
,
b
):
pass
def
test_29
(
a
,
*
,
b
,
**
c
):
pass
def
test_30
(
a
,
/
,
*
,
b
):
pass
def
test_31
(
a
,
/
,
b
,
*
,
c
):
pass
def
test_32
(
a
,
/
,
*
,
c
,
**
d
):
pass
def
test_33
(
a
,
/
,
b
,
*
,
c
,
**
d
):
pass
# Function Calls
test
()
test
(
x
,
y
)
test
(
x
,
y
=
1
,
z
=
'123'
)
test
(
100
,
**
x
)
test
(
*
x
,
**
y
)
test
(
*
x
,
y
)
test
(
*
x
,
*
y
)
test
(
**
x
,
**
y
)
test
(
*
x
,
y
=
1
,
z
=
2
,
**
a
,
b
=
1
)
test
(
*
x
,
**
a
,
b
=
"1"
)
test
(
x
=
1
,
*
y
,
z
=
2
,
**
a
,
b
=
"1"
)
lp
.
test
()
lp
.
test
(
x
,
y
)
lp
.
test
(
x
,
y
=
1
,
z
=
'123'
)
test
()[
"version"
]
test
(
x
,
y
)[
"version"
]
test
(
x
,
*
y
)[:
-
1
]
test
()[
1
][
1
]
x
[
"numpystr"
]()
x
[
'int'
]()
x
[
func
](
*
args
,
**
kwargs
)
test
[
0
](
*
test
[
1
:])
(
obj
*
self
.
_arr
.
ndim
)(
*
self
.
_arr
.
shape
)
traverse
((
index
,
value
),
visit
,
result
=
result
,
*
args
,
**
kwargs
)
Back
|
FazBrowse Home
|
New Git URL