From 5808ab5ef5cc0d16c74dc14d7eefa22386f16e81 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 20 Jul 2008 16:28:04 +0000 Subject: Add a pydoc import in lookfor; missed in the import refactoring. --- numpy/lib/utils.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/lib/utils.py') diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py index 7df342e02..9d37dc1b5 100644 --- a/numpy/lib/utils.py +++ b/numpy/lib/utils.py @@ -502,6 +502,8 @@ def lookfor(what, module=None, import_modules=True, regenerate=False): Re-generate the docstring cache """ + import pydoc + # Cache cache = _lookfor_generate_cache(module, import_modules, regenerate) -- cgit v1.2.1