aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>2019-10-28 10:59:21 +0300
committerBatuhan Taskaya <batuhanosmantaskaya@gmail.com>2019-10-28 10:59:21 +0300
commitce01c0199f93612848e664bfd920083168eaa293 (patch)
tree376194c6c917f8cecae46df61bb185f49f08fc1b
parent65fe7abeaba9e82b8f3755054759fed21c0c489b (diff)
downloadexternal_python_setuptools-ce01c0199f93612848e664bfd920083168eaa293.tar.gz
external_python_setuptools-ce01c0199f93612848e664bfd920083168eaa293.tar.bz2
external_python_setuptools-ce01c0199f93612848e664bfd920083168eaa293.zip
add docstring to find_module
-rw-r--r--setuptools/_imp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/_imp.py b/setuptools/_imp.py
index 09073d44..dc4b1b2c 100644
--- a/setuptools/_imp.py
+++ b/setuptools/_imp.py
@@ -17,8 +17,7 @@ PY_FROZEN = 7
def find_module(module, paths=None):
- """
- """
+ """Just like 'imp.find_module()', but with package support"""
spec = importlib.util.find_spec(module, paths)
if spec is None:
raise ImportError("Can't find %s" % module)