mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
![Josh Holland](/assets/img/avatar_default.png)
Python's async functions (declared with "async def" rather than "def") were not being displayed in hunk headers. This commit teaches git about the async function syntax, and adds tests for the Python userdiff regex. Signed-off-by: Josh Holland <anowlcalledjosh@gmail.com> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
5 lines
85 B
Plaintext
5 lines
85 B
Plaintext
async def RIGHT(pi: int = 3.14):
|
|
while True:
|
|
break
|
|
return ChangeMe()
|