]>
Commit | Line | Data |
---|---|---|
e0c4db04 | 1 | # flake8: noqa: F405 |
2 | from types import * # noqa: F403 | |
3 | ||
4 | from .compat_utils import passthrough_module | |
5 | ||
6 | passthrough_module(__name__, 'types') | |
7 | del passthrough_module | |
8 | ||
9 | try: | |
25b6e8f9 | 10 | # NB: pypy has builtin NoneType, so checking NameError won't work |
11 | from types import NoneType # >= 3.10 | |
12 | except ImportError: | |
e0c4db04 | 13 | NoneType = type(None) |