Browse Source
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 functionsmaint
![gitster@pobox.com](/assets/img/avatar_default.png)
7 changed files with 32 additions and 1 deletions
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
async def RIGHT(pi: int = 3.14): |
||||
while True: |
||||
break |
||||
return ChangeMe() |
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
class RIGHT(int, str): |
||||
# comment |
||||
# another comment |
||||
# ChangeMe |
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
def RIGHT(pi: int = 3.14): |
||||
while True: |
||||
break |
||||
return ChangeMe() |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
class Foo: |
||||
async def RIGHT(self, x: int): |
||||
return [ |
||||
1, |
||||
2, |
||||
ChangeMe, |
||||
] |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
if TYPE_CHECKING: |
||||
class RIGHT: |
||||
# comment |
||||
# another comment |
||||
# ChangeMe |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
class Foo: |
||||
def RIGHT(self, x: int): |
||||
return [ |
||||
1, |
||||
2, |
||||
ChangeMe, |
||||
] |
Loading…
Reference in new issue