summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-07-01 02:12:52 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-07-01 02:12:52 +0200
commite44102aa6f106e4d28ccaec302463ba8ebdc6d28 (patch)
tree848ad71dddc9ab0be1baaf0e7228d0fa57d16a27
parent6739f667288b18a5a9e2d7526510b0f11fe77e43 (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.
-rw-r--r--kconfiglib.py2
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