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-indented-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-indented-def')
-rw-r--r-- | t/t4018/python-indented-def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t4018/python-indented-def b/t/t4018/python-indented-def new file mode 100644 index 0000000000..208fbadd2b --- /dev/null +++ b/t/t4018/python-indented-def @@ -0,0 +1,7 @@ +class Foo: + def RIGHT(self, x: int): + return [ + 1, + 2, + ChangeMe, + ] |