mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
PY-20662 Fixed: Making any magic method async displays an error, even though it is sometimes legal
Mark __call__ builtin as allowed to be async
This commit is contained in:
@@ -6,4 +6,7 @@ class A:
|
||||
pass
|
||||
|
||||
async def __aiter__(self):
|
||||
pass
|
||||
|
||||
async def __call__(self, *args, **kwargs):
|
||||
pass
|
||||
Reference in New Issue
Block a user