☰
Debian Codegraph
@
0.20.0+ds1-1
0.19.1+ds1-1
/
/
test
/
completion
/
pep0695_type_parameter_syntax.py
☽
☼
test/completion/pep0695_type_parameter_syntax.py
code
plain
raw
symbols
SCIP
Expat
2012 David Halter <
[email protected]
>
debian/copyright
1
# python >= 3.12
2
3
# -----------------
4
# new generic syntax should not fail
5
# -----------------
6
7
class
C
[
T
]:
8
def
c
(self) ->
str
: ...
9
def
f
[
T
](x:
T
, y:
T
) ->
int
: ...
10
11
#? int()
12
f
()
13
#? str()
14
C
().
c
()