text/x-python;application/x-python;text/x-python3
*.py;*.py3
#
(?> (?: _ | \%{def:unicode-xid-start} ) \%{def:unicode-xid-continue}* )
[1-9][0-9]*
(\%{identifier}\.)*\%{identifier}
(\.*\%{identifier-path}|\.+)
% # leading % sign
\(\%{identifier}\)? # mapping key
[#0\-\ \+]* # conversion flags
(\-?\%{number}|\*)? # minimum field width
(\.(\-?\%{number}|\*))? # precision
(hlL)? # lentgh modifier
[diouxXeEfFgGcrs%] # conversion type
(b|B)?
(r|R|rb|RB|rB|Rb|br|BR|bR|Br)
\%{string-prefix}"""
"""
\%{string-prefix}'''
'''
\%{string-prefix}"
"
\%{string-prefix}'
'
\%{raw-string-prefix}"""
"""
\%{raw-string-prefix}'''
'''
\%{raw-string-prefix}"
"
\%{raw-string-prefix}'
'
(from)
\s+
(\%{relative-path})
(def)
\s+
(\%{identifier})
(class)
\s+
(\%{identifier})
@\%{identifier-path}
(?<![\w\.])0[bB][0-1]+[lL]?(?![\w\.])
(?<![\w\.])0[oO][0-7]+[lL]?(?![\w\.])
async
await
nonlocal
(?<![\w\.])
ResourceWarning
(?<![\w\.])
ascii
bin
breakpoint
bytearray
bytes
exec
format
memoryview
next
print