☰
Debian Codegraph
@
0.7.62+git20250413.bba8fc4-1
/
/
tests
/
syntax
/
generator_expression_parens.py
☽
☼
tests/syntax/generator_expression_parens.py
code
plain
raw
symbols
SCIP
Expat
2019 Andre Roberge <
[email protected]
>
debian/copyright
1
"""Should raise SyntaxError: Generator expression must be parenthesized"""
2
def
f
(it, *varargs, **kwargs):
3
return
list
(it)
4
5
L
=
range
(
10
)
6
f
(x
for
x in
L
,
1
)