From 6cdb4c46613892c550013a74d76033717e1f72ef Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 12 Jun 2018 20:32:35 +0200 Subject: Remove redundant 'pass' from exception classes The docstrings make the body non-empty already. --- kconfiglib.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/kconfiglib.py b/kconfiglib.py index 82edcb6..afd4a78 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -4313,13 +4313,11 @@ class KconfigSyntaxError(Exception): """ Exception raised for syntax errors. """ - pass class InternalError(Exception): """ Exception raised for internal errors. """ - pass # # Public functions -- cgit v1.2.3