You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/lib/ansible_test/_internal/types.py

23 lines
409 B
Python

"""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,
)
except ImportError:
pass