typish._types   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 12
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 0
1
"""
2
PRIVATE MODULE: do not import (from) it directly.
3
4
This module contains types that are not available by default.
5
"""
6
import typing
7
from inspect import Parameter
8
9
10
T = typing.TypeVar('T')
11
KT = typing.TypeVar('KT')
12
VT = typing.TypeVar('VT')
13
Empty = Parameter.empty
14
Unknown = type('Unknown', (Empty, ), {})
15
Module = type(typing)
16
NoneType = type(None)
17
Ellipsis_ = type(...)  # Use EllipsisType instead.
18
EllipsisType = type(...)
19