From 5d32898fd208ba1b81ad579369470ac1a6ec3596 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 2 Oct 2017 10:34:27 +0200 Subject: Remove empty Comment.__init__() Didn't even notice that it had become empty... --- kconfiglib.py | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/kconfiglib.py b/kconfiglib.py index acb804b..f5a5f93 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3252,20 +3252,16 @@ class Comment(Item): # Private methods # - def __init__(self): - """Comment constructor -- not intended to be called directly by - Kconfiglib clients.""" - - # These attributes are always set on the instance from outside and - # don't need defaults: - # _config - # _parent - # _filename - # _linenr - # _text - # _deps_from_containing - # _menu_dep - # _orig_deps + # These attributes are always set on the instance from outside and don't + # need defaults: + # _config + # _parent + # _filename + # _linenr + # _text + # _deps_from_containing + # _menu_dep + # _orig_deps def _add_config_strings(self, add_fn): if self._config._eval_expr(self._menu_dep) != "n": -- cgit v1.2.3