PATH:
opt
/
alt
/
python35
/
lib
/
python3.5
/
site-packages
/
pip
/
_internal
/
utils
/
__pycache__
��Rey � @ s5 d Z d Z e r% d d l m Z n d d � Z d S)aB For neatly implementing static typing in pip. `mypy` - the static type analysis tool we use - uses the `typing` module, which provides core functionality fundamental to mypy's functioning. Generally, `typing` would be imported at runtime and used in that fashion - it acts as a no-op at runtime and does not have any run-time overhead by design. As it turns out, `typing` is not vendorable - it uses separate sources for Python 2/Python 3. Thus, this codebase can not expect it to be present. To work around this, mypy allows the typing import to be behind a False-y optional to prevent it from running at runtime and type-comments can be used to remove the need for the types to be accessible directly during runtime. This module provides the False-y guard in a nicely named fashion so that a curious maintainer can reach here to read this. In pip, all static-typing related imports should be guarded as follows: from pip._internal.utils.typing import MYPY_CHECK_RUNNING if MYPY_CHECK_RUNNING: from typing import ... Ref: https://github.com/python/mypy/issues/3216 F� )�castc C s | S)N� )�type_�valuer r ��/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/typing.pyr % s r N)�__doc__�MYPY_CHECK_RUNNING�typingr r r r r �<module> s
[-] typing.cpython-35.pyc
[edit]
[-] parallel.cpython-35.pyc
[edit]
[-] datetime.cpython-35.pyc
[edit]
[-] urls.cpython-35.pyc
[edit]
[-] pkg_resources.cpython-35.pyc
[edit]
[-] packaging.cpython-35.pyc
[edit]
[-] compat.cpython-35.pyc
[edit]
[-] wheel.cpython-35.pyc
[edit]
[-] logging.cpython-35.pyc
[edit]
[-] distutils_args.cpython-35.pyc
[edit]
[-] models.cpython-35.pyc
[edit]
[-] direct_url_helpers.cpython-35.pyc
[edit]
[+]
..
[-] filesystem.cpython-35.pyc
[edit]
[-] unpacking.cpython-35.pyc
[edit]
[-] encoding.cpython-35.pyc
[edit]
[-] deprecation.cpython-35.pyc
[edit]
[-] compatibility_tags.cpython-35.pyc
[edit]
[-] subprocess.cpython-35.pyc
[edit]
[-] virtualenv.cpython-35.pyc
[edit]
[-] __init__.cpython-35.pyc
[edit]
[-] appdirs.cpython-35.pyc
[edit]
[-] glibc.cpython-35.pyc
[edit]
[-] entrypoints.cpython-35.pyc
[edit]
[-] hashes.cpython-35.pyc
[edit]
[-] setuptools_build.cpython-35.pyc
[edit]
[-] filetypes.cpython-35.pyc
[edit]
[-] inject_securetransport.cpython-35.pyc
[edit]
[-] misc.cpython-35.pyc
[edit]
[-] temp_dir.cpython-35.pyc
[edit]