diff options
Diffstat (limited to 'pylint/lint/utils.py')
-rw-r--r-- | pylint/lint/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/lint/utils.py b/pylint/lint/utils.py index ed0cefb77..fb1093d80 100644 --- a/pylint/lint/utils.py +++ b/pylint/lint/utils.py @@ -119,10 +119,10 @@ def _patch_sys_path(args): @contextlib.contextmanager def fix_import_path(args): - """Prepare sys.path for running the linter checks. + """Prepare 'sys.path' for running the linter checks. Within this context, each of the given arguments is importable. - Paths are added to sys.path in corresponding order to the arguments. + Paths are added to 'sys.path' in corresponding order to the arguments. We avoid adding duplicate directories to sys.path. `sys.path` is reset to its original value upon exiting this context. """ |