'match.group(N)' -> 'match[N]' (#7671)

2.5x faster
This commit is contained in:
Mike Fährmann
2025-06-18 12:59:37 +02:00
parent 475506cc39
commit 41191bb60a
135 changed files with 363 additions and 363 deletions

View File

@@ -204,7 +204,7 @@ def parse_unicode_escapes(txt):
def _hex_to_char(match):
return chr(int(match.group(1), 16))
return chr(int(match[1], 16))
def parse_bytes(value, default=0, suffixes="bkmgtp"):