1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
"""Import wrapper for type hints when available.""" from __future__ import (absolute_import, division, print_function) __metaclass__ = type try: from typing import ( Any, AnyStr, Callable, Dict, FrozenSet, Iterable, List, Optional, Set, Text, Tuple, Type, TypeVar, Union, ) except ImportError: pass