Update mako==1.2.4

This commit is contained in:
JonnyWong16 2022-11-15 15:55:05 -08:00
commit f6029b0551
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 8 additions and 3 deletions

View file

@ -5,4 +5,4 @@
# the MIT License: http://www.opensource.org/licenses/mit-license.php # the MIT License: http://www.opensource.org/licenses/mit-license.php
__version__ = "1.2.3" __version__ = "1.2.4"

View file

@ -1251,8 +1251,13 @@ class _Identifiers:
_FOR_LOOP = re.compile( _FOR_LOOP = re.compile(
r"^for\s+((?:\(?)\s*[A-Za-z_][A-Za-z_0-9]*" r"^for\s+((?:\(?)\s*"
r"(?:\s*,\s*(?:[A-Za-z_][A-Za-z0-9_]*),??)*\s*(?:\)?))\s+in\s+(.*):" r"(?:\(?)\s*[A-Za-z_][A-Za-z_0-9]*"
r"(?:\s*,\s*(?:[A-Za-z_][A-Za-z_0-9]*),??)*\s*(?:\)?)"
r"(?:\s*,\s*(?:"
r"(?:\(?)\s*[A-Za-z_][A-Za-z_0-9]*"
r"(?:\s*,\s*(?:[A-Za-z_][A-Za-z_0-9]*),??)*\s*(?:\)?)"
r"),??)*\s*(?:\)?))\s+in\s+(.*):"
) )