diff options
author | Rémi Cardona <remi.cardona@logilab.fr> | 2015-05-28 14:55:35 +0200 |
---|---|---|
committer | Rémi Cardona <remi.cardona@logilab.fr> | 2015-05-28 14:55:35 +0200 |
commit | 170b6ba7defcf3893c90471558c09a4fbeb62e8a (patch) | |
tree | 273dbe2357509b8d60a51db7b5df33e269c7c1ca | |
parent | 0571fb054fe770b7deefc7ccb8880533cc8e1e53 (diff) | |
download | logilab-common-170b6ba7defcf3893c90471558c09a4fbeb62e8a.tar.gz |
Fix various typos
-rw-r--r-- | logilab/common/modutils.py | 4 | ||||
-rw-r--r-- | logilab/common/testlib.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/logilab/common/modutils.py b/logilab/common/modutils.py index a426a3a..a867165 100644 --- a/logilab/common/modutils.py +++ b/logilab/common/modutils.py @@ -25,7 +25,7 @@ :var STD_LIB_DIR: directory where standard modules are located :type BUILTIN_MODULES: dict -:var BUILTIN_MODULES: dictionary with builtin module names has key +:var BUILTIN_MODULES: dictionary with builtin module names as key """ __docformat__ = "restructuredtext en" @@ -485,7 +485,7 @@ def is_standard_module(modname, std_path=(STD_LIB_DIR,)): :param modname: name of the module we are interested in :type std_path: list(str) or tuple(str) - :param std_path: list of path considered has standard + :param std_path: list of path considered as standard :rtype: bool diff --git a/logilab/common/testlib.py b/logilab/common/testlib.py index 31efe56..6f576e9 100644 --- a/logilab/common/testlib.py +++ b/logilab/common/testlib.py @@ -94,7 +94,7 @@ __unittest = 1 def with_tempdir(callable): """A decorator ensuring no temporary file left when the function return - Work only for temporary file create with the tempfile module""" + Work only for temporary file created with the tempfile module""" if isgeneratorfunction(callable): def proxy(*args, **kwargs): old_tmpdir = tempfile.gettempdir() |