diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-15 14:08:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 14:08:48 (GMT) |
commit | 1a9ef5798525bbb39a16c8af5c435b97352ee027 (patch) | |
tree | 26723d66f645f1a916c337b0bf3aa2d45ece93f9 /Tools | |
parent | 11cdf2a6702639571554cbf3f69f57d688564540 (diff) | |
download | cpython-1a9ef5798525bbb39a16c8af5c435b97352ee027.zip cpython-1a9ef5798525bbb39a16c8af5c435b97352ee027.tar.gz cpython-1a9ef5798525bbb39a16c8af5c435b97352ee027.tar.bz2 |
bpo-44786: Fix a warning in RE in c-analyzer (GH-28351)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/c-analyzer/c_common/tables.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/c-analyzer/c_common/tables.py b/Tools/c-analyzer/c_common/tables.py index 85b5019..130be6b 100644 --- a/Tools/c-analyzer/c_common/tables.py +++ b/Tools/c-analyzer/c_common/tables.py @@ -236,12 +236,12 @@ def build_table(specs, *, sep=' ', defaultwidth=None): _COLSPEC_RE = re.compile(textwrap.dedent(r''' ^ (?: - [[] + \[ ( (?: [^\s\]] [^\]]* )? [^\s\]] ) # <label> - []] + ] )? ( \w+ ) # <field> (?: |