src/pylib/Lib/typing_impl/easyImpl

Search:
Group by:
Source   Edit  

Types

Final[T] = T
Source   Edit  
Literal = auto
Its __class_getitem__ (e.g. Literal[1, 2]) is (and only is) supported within def or class via rewriteDeclXxx in pysugar/stmt/decl.nim
Note: bare Literal (without any generic type) is disallowed in mypy, here we support it as we use it to refer to const
Source   Edit