aboutsummaryrefslogtreecommitdiff
path: root/t/t4018/python-indented-async-def
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-05 12:52:44 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-05 12:52:44 -0800
commit9502b616f187c567b93db69cd9c6f0028019bd15 (patch)
tree63c35ad83af6ad1ddc1059ce5132698d8e771530 /t/t4018/python-indented-async-def
parent76c68246c6b9752fd692f84b928cf867befd57cc (diff)
parent077a1fda82b237c16eb10bd988650468683a94b5 (diff)
downloadgit-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-indented-async-def')
-rw-r--r--t/t4018/python-indented-async-def7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t4018/python-indented-async-def b/t/t4018/python-indented-async-def
new file mode 100644
index 0000000000..f5d03258af
--- /dev/null
+++ b/t/t4018/python-indented-async-def
@@ -0,0 +1,7 @@
+class Foo:
+ async def RIGHT(self, x: int):
+ return [
+ 1,
+ 2,
+ ChangeMe,
+ ]