diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-12-05 12:52:44 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-05 12:52:44 -0800 |
commit | 9502b616f187c567b93db69cd9c6f0028019bd15 (patch) | |
tree | 63c35ad83af6ad1ddc1059ce5132698d8e771530 /t/t4018/python-async-def | |
parent | Merge branch 'ec/fetch-mark-common-refs-trace2' (diff) | |
parent | userdiff: support Python async functions (diff) | |
download | tgif-9502b616f187c567b93db69cd9c6f0028019bd15.tar.xz |
Merge branch 'jh/userdiff-python-async'
The userdiff machinery has been taught that "async def" is another
way to begin a "function" in Python.
* jh/userdiff-python-async:
userdiff: support Python async functions
Diffstat (limited to 't/t4018/python-async-def')
-rw-r--r-- | t/t4018/python-async-def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4018/python-async-def b/t/t4018/python-async-def new file mode 100644 index 0000000000..87640e03d2 --- /dev/null +++ b/t/t4018/python-async-def @@ -0,0 +1,4 @@ +async def RIGHT(pi: int = 3.14): + while True: + break + return ChangeMe() |