You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
13 lines
174 B
Python
13 lines
174 B
Python
# 3.6+ type annotations on variables
|
|
from typing import List
|
|
|
|
# RUNNABLE!
|
|
y = 2
|
|
x: bool
|
|
z: int = 5
|
|
x = (z == 5)
|
|
assert x
|
|
assert y == 2
|
|
v: List[int] = [1, 2]
|
|
assert v[1] == y
|