diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-03-22 17:59:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 07:59:32 -0700 |
commit | 1ca315538f2f9da6c7b86c4c46e76d454c1ec4b9 (patch) | |
tree | 29dd93839c113c31081b10a23efaefa97f2c1a6d /Tools/c-analyzer/c_parser/parser/_alt.py | |
parent | 7559f5fda94ab568a1a910b17683ed81dc3426fb (diff) | |
download | cpython-1ca315538f2f9da6c7b86c4c46e76d454c1ec4b9.tar.gz cpython-1ca315538f2f9da6c7b86c4c46e76d454c1ec4b9.zip |
gh-102033: Fix syntax error in `Tools/c-analyzer` (GH-102066)
The easiest way to format strings with `{}` meaningful chars is via `%`.
Diffstat (limited to 'Tools/c-analyzer/c_parser/parser/_alt.py')
-rw-r--r-- | Tools/c-analyzer/c_parser/parser/_alt.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Tools/c-analyzer/c_parser/parser/_alt.py b/Tools/c-analyzer/c_parser/parser/_alt.py deleted file mode 100644 index 05a9101b4f5..00000000000 --- a/Tools/c-analyzer/c_parser/parser/_alt.py +++ /dev/null @@ -1,6 +0,0 @@ - -def _parse(srclines, anon_name): - text = ' '.join(l for _, l in srclines) - - from ._delim import parse - yield from parse(text, anon_name) |