From ba71a0eac153d05996af529a647a1ab97163802a Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 6 Aug 2015 13:43:54 +0200 Subject: Fix _parse_block() 'parent' documentation re. ifs. Ifs do not have an object representation, so 'parent' can never be an if. --- kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kconfiglib.py b/kconfiglib.py index 8af3a51..296a13b 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -615,7 +615,7 @@ class Config(object): end_marker: The token that ends the block, e.g. T_ENDIF ("endif") for ifs. None for files. - parent: The enclosing menu, choice or if, or None if we're at the top + parent: The enclosing menu or choice, or None if we're at the top level. deps: Dependencies from enclosing menus, choices and ifs. -- cgit v1.2.3