summaryrefslogtreecommitdiff
path: root/numpy/compat/_inspect.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-10-13 08:29:30 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-10-13 08:29:30 +0000
commit4fb4c64cae2ce1ba16082d918e94e845fa2c87f3 (patch)
tree6a97773485d34c983081fdacf2d500d1beed93df /numpy/compat/_inspect.py
parentdaf38f394fabdc9cecc8f2aadb3777e546679430 (diff)
downloadnumpy-4fb4c64cae2ce1ba16082d918e94e845fa2c87f3.tar.gz
DOC: add docstrings to compat and compat._inspect.
Diffstat (limited to 'numpy/compat/_inspect.py')
-rw-r--r--numpy/compat/_inspect.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/numpy/compat/_inspect.py b/numpy/compat/_inspect.py
index 125b27156..8be0b7696 100644
--- a/numpy/compat/_inspect.py
+++ b/numpy/compat/_inspect.py
@@ -1,3 +1,10 @@
+"""Subset of inspect module from upstream python
+
+We use this instead of upstream because upstream inspect is slow to import, and
+significanly contributes to numpy import times. Importing this copy has almost
+no overhead.
+"""
+
import types
__all__ = ['getarspec', 'formatargspec']