summaryrefslogtreecommitdiff
path: root/modutils.py
diff options
context:
space:
mode:
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>2008-07-14 20:10:00 +0200
committerNicolas Chauvat <nicolas.chauvat@logilab.fr>2008-07-14 20:10:00 +0200
commit93ae11ba36e2a59e8d85c8dba4b8bde5a28ca206 (patch)
treecd39aed3f925679bc8a19676ce440703dcd0f6c5 /modutils.py
parentaab929e273a41a188a244b5d2c8b3e53408172ab (diff)
downloadlogilab-common-93ae11ba36e2a59e8d85c8dba4b8bde5a28ca206.tar.gz
improve doc for better epydoc generation (again).
Diffstat (limited to 'modutils.py')
-rw-r--r--modutils.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/modutils.py b/modutils.py
index 63b33a9..a60ae7d 100644
--- a/modutils.py
+++ b/modutils.py
@@ -65,7 +65,7 @@ class LazyObject(object):
def load_module_from_name(dotted_name, path=None, use_sys=1):
- """load a Python module from it's name
+ """Load a Python module from it's name.
:type dotted_name: str
:param dotted_name: python name of a module or package
@@ -90,7 +90,7 @@ def load_module_from_name(dotted_name, path=None, use_sys=1):
def load_module_from_modpath(parts, path=None, use_sys=1):
- """load a python module from it's splitted name
+ """Load a python module from it's splitted name.
:type parts: list(str) or tuple(str)
:param parts:
@@ -105,9 +105,6 @@ def load_module_from_modpath(parts, path=None, use_sys=1):
:param use_sys:
boolean indicating whether the sys.modules dictionary should be used or not
- :param _prefix: used internally, should not be specified
-
-
:raise ImportError: if the module or package is not found
:rtype: module
@@ -141,10 +138,10 @@ def load_module_from_modpath(parts, path=None, use_sys=1):
def load_module_from_file(filepath, path=None, use_sys=1):
- """load a Python module from it's path
+ """Load a Python module from it's path.
:type filepath: str
- :param dotted_name: path to the python module or package
+ :param filepath: path to the python module or package
:type path: list or None
:param path: