summaryrefslogtreecommitdiff
path: root/t/t4018/python-def
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-12-05 12:52:44 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-05 12:52:44 -0800
commit9502b616f187c567b93db69cd9c6f0028019bd15 (patch)
tree63c35ad83af6ad1ddc1059ce5132698d8e771530 /t/t4018/python-def
parentMerge branch 'ec/fetch-mark-common-refs-trace2' (diff)
parentuserdiff: support Python async functions (diff)
downloadtgif-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-def')
-rw-r--r--t/t4018/python-def4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4018/python-def b/t/t4018/python-def
new file mode 100644
index 0000000000..e50b31b0ad
--- /dev/null
+++ b/t/t4018/python-def
@@ -0,0 +1,4 @@
+def RIGHT(pi: int = 3.14):
+ while True:
+ break
+ return ChangeMe()