diff options
Diffstat (limited to 'venv/Lib/site-packages/astroid/interpreter/_import/util.py')
-rw-r--r-- | venv/Lib/site-packages/astroid/interpreter/_import/util.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/venv/Lib/site-packages/astroid/interpreter/_import/util.py b/venv/Lib/site-packages/astroid/interpreter/_import/util.py deleted file mode 100644 index a917bd3..0000000 --- a/venv/Lib/site-packages/astroid/interpreter/_import/util.py +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright (c) 2016, 2018 Claudiu Popa <pcmanticore@gmail.com> - -try: - import pkg_resources -except ImportError: - pkg_resources = None - - -def is_namespace(modname): - return pkg_resources is not None and modname in pkg_resources._namespace_packages |