core: allow const() values to have Literal type

pull/1277/head
Martin Milata 4 years ago committed by Tomas Susanka
parent cd1d5195fd
commit 163ccedb39

@ -1,4 +1,8 @@
def const(c: int) -> int: ...
from typing import TypeVar
C = TypeVar("C", bound=int)
def const(c: C) -> C: ...
def mem_info() -> None: ...
def mem_current() -> int: ...
def mem_total() -> int: ...

Loading…
Cancel
Save