diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-07-01 02:12:52 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-07-01 02:12:52 +0200 |
| commit | e44102aa6f106e4d28ccaec302463ba8ebdc6d28 (patch) | |
| tree | 848ad71dddc9ab0be1baaf0e7228d0fa57d16a27 /kconfiglib.py | |
| parent | 6739f667288b18a5a9e2d7526510b0f11fe77e43 (diff) | |
Make MenuNode.filename documentation more accurate re. absolute paths
An absolute path to within $srctree is turned into a relative path, and
a relative path with '..' in it might be turned into an absolute path.
Only whether the path is within $srctree matters.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 2ef4619..55d9b88 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -5437,7 +5437,7 @@ class MenuNode(object): filename/linenr: The location where the menu node appears. The filename is relative to $srctree (or to the current directory if $srctree isn't set), except - absolute paths passed to 'source' and Kconfig.__init__() are preserved. + absolute paths are used for paths outside $srctree. include_path: A tuple of (filename, linenr) tuples, giving the locations of the |
