Commit 43b5533
C. Michael Pilato
Silence some SyntaxWarnings from Python 3.12+:
contribulyze.py:520: SyntaxWarning: invalid escape sequence '\|'
('^(r[0-9]+) \| ([^|]+) \| ([^|]+) \| ([0-9]+)[^0-9]')
contribulyze.py:523: SyntaxWarning: invalid escape sequence '\s'
'\s*\S.*$')
contribulyze.py:528: SyntaxWarning: invalid escape sequence '\s'
parenthetical_aside_re = re.compile('^\s*\(.*\)\s*$')
contribulyze.py:579: SyntaxWarning: invalid escape sequence '\s'
+ ' by:\s+|\s+)([^\s(].*)')
contribulyze.py:706: SyntaxWarning: invalid escape sequence '\S'
matcher = re.compile('(\S+)\s+([^\(\)]+)\s+(\([^()]+\)){0,1}')
* tools/dev/contribulyze.py: Use r-strings to appease the Python regex
parser.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1932974 13f79535-47bb-0310-9956-ffa450edef681 parent 767da28 commit 43b5533
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
| 520 | + | |
521 | 521 | | |
522 | | - | |
523 | | - | |
| 522 | + | |
| 523 | + | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
| 579 | + | |
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
706 | | - | |
| 706 | + | |
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
| |||
0 commit comments