mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
gh-90110: Update the c-analyzer Tool (gh-96058)
This commit is contained in:
parent
5aac85101b
commit
586fc02be5
4 changed files with 87 additions and 8 deletions
|
@ -9,7 +9,11 @@ from ._regexes import (
|
|||
|
||||
def log_match(group, m):
|
||||
from . import _logger
|
||||
_logger.debug(f'matched <{group}> ({m.group(0)})')
|
||||
text = m.group(0)
|
||||
if text.startswith(('(', ')')) or text.endswith(('(', ')')):
|
||||
_logger.debug(f'matched <{group}> ({text!r})')
|
||||
else:
|
||||
_logger.debug(f'matched <{group}> ({text})')
|
||||
|
||||
|
||||
#############################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue