diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-08 14:21:49 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-08 14:21:49 +0200 |
| commit | c3d7a48d394c9f903ac1b19bf70c88ba9cc59a9f (patch) | |
| tree | 5ab37d3363b761d1b4ca445416bb1d6b9eee4f96 | |
| parent | 533688029233d49e4bf19b618195f86f55ed3221 (diff) | |
Reduce parameter-related vertical spam.
| -rw-r--r-- | kconfiglib.py | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 00c12a3..fb5b489 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -81,11 +81,8 @@ class Config(object): # Public interface # - def __init__(self, - filename = "Kconfig", - base_dir = None, - print_warnings = True, - print_undef_assign = False): + def __init__(self, filename = "Kconfig", base_dir = None, + print_warnings = True, print_undef_assign = False): """Creates a new Config object, representing a Kconfig configuration. Raises Kconfig_Syntax_Error on syntax errors. @@ -592,11 +589,7 @@ class Config(object): for sym in self.syms.itervalues(): sym._invalidate() - def _tokenize(self, - s, - for_eval = False, - filename = None, - linenr = None): + def _tokenize(self, s, for_eval = False, filename = None, linenr = None): """Returns a _Feed instance containing tokens derived from the string 's'. Registers any new symbols encountered (via _sym_lookup()). @@ -772,13 +765,8 @@ class Config(object): # <expr> '&&' <expr> # <expr> '||' <expr> - def _parse_expr(self, - feed, - cur_sym_or_choice, - line, - filename = None, - linenr = None, - transform_m = True): + def _parse_expr(self, feed, cur_sym_or_choice, line, filename = None, + linenr = None, transform_m = True): """Parse an expression from the tokens in 'feed' using a simple top-down approach. The result has the form (<operator>, <list containing parsed operands>). |
