diff options
author | 2021-10-03 20:03:49 +0300 | |
---|---|---|
committer | 2021-10-03 20:03:49 +0300 | |
commit | 93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e (patch) | |
tree | 7d119733b0de07024169d68ac5af8ac63422023f /Tools | |
parent | Fix spelling error in comment (GH-28696) (GH-28699) (diff) | |
download | cpython-93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e.tar.gz cpython-93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e.tar.bz2 cpython-93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e.zip |
[3.10] Remove trailing spaces (GH-28709)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/c-analyzer/c_parser/_state_machine.py | 2 | ||||
-rw-r--r-- | Tools/c-analyzer/c_parser/preprocessor/__init__.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tools/c-analyzer/c_parser/_state_machine.py b/Tools/c-analyzer/c_parser/_state_machine.py index b505b4e3e47..53cbb13e7c4 100644 --- a/Tools/c-analyzer/c_parser/_state_machine.py +++ b/Tools/c-analyzer/c_parser/_state_machine.py @@ -23,7 +23,7 @@ def parse(srclines): if isinstance(srclines, str): # a filename raise NotImplementedError - + # This only handles at most 10 nested levels. #MATCHED_PARENS = textwrap.dedent(rf''' diff --git a/Tools/c-analyzer/c_parser/preprocessor/__init__.py b/Tools/c-analyzer/c_parser/preprocessor/__init__.py index f206f694db5..8da4d8cadf7 100644 --- a/Tools/c-analyzer/c_parser/preprocessor/__init__.py +++ b/Tools/c-analyzer/c_parser/preprocessor/__init__.py @@ -91,7 +91,7 @@ def get_preprocessor(*, macros = list(_resolve_file_values(filename, file_macros)) if file_incldirs: incldirs = [v for v, in _resolve_file_values(filename, file_incldirs)] - + def preprocess(**kwargs): if file_macros and 'macros' not in kwargs: kwargs['macros'] = macros |