summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-05-27 21:51:10 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-05-27 21:52:54 +0200
commit1961ec60c09b774a139a2f48767848277c9ffba7 (patch)
tree0feeb2d8e82ca1cbd35d2bf4402290ddd3d09a50
parent13db3faf676f8b83c199986643e02843a6f1929e (diff)
KconfigError-related documentation nits
Not just for syntax errors when raised from Kconfig.__init__().
-rw-r--r--kconfiglib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 51857a0..3e4d257 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -390,7 +390,7 @@ Globbing 'source'
-----------------
'source' and 'rsource' accept glob patterns, sourcing all matching Kconfig
-files. They require at least one matching file, throwing a KconfigError
+files. They require at least one matching file, raising a KconfigError
otherwise.
For example, the following statement might source sub1/foofoofoo and
@@ -807,8 +807,8 @@ class Kconfig(object):
default warning settings (KCONFIG_WARN_UNDEF and
KCONFIG_WARN_UNDEF_ASSIGN).
- Raises KconfigError on syntax errors, and (possibly a subclass of)
- IOError on IO errors ('errno', 'strerror', and 'filename' are
+ Raises KconfigError on syntax/semantic errors, and (possibly a subclass
+ of) IOError on IO errors ('errno', 'strerror', and 'filename' are
available). Note that IOError can be caught as OSError on Python 3.
filename (default: "Kconfig"):