summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 4083110..4a58669 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -5479,7 +5479,12 @@ class Variable(object):
class KconfigError(Exception):
- "Exception raised for Kconfig-related errors"
+ """
+ Exception raised for Kconfig-related errors.
+
+ KconfigError and KconfigSyntaxError are the same class. The
+ KconfigSyntaxError alias is only maintained for backwards compatibility.
+ """
KconfigSyntaxError = KconfigError # Backwards compatibility