Skip to content

Commit 1689063

Browse files
committed
Fix mypy error.
1 parent ae3cfba commit 1689063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asgiref/sync.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def markcoroutinefunction(func: Any) -> Any:
3737
if hasattr(inspect, "markcoroutinefunction"):
3838
return inspect.markcoroutinefunction(func)
3939
else:
40-
func._is_coroutine = asyncio.coroutines._is_coroutine
40+
func._is_coroutine = asyncio.coroutines._is_coroutine # type: ignore
4141
return func
4242

4343

0 commit comments

Comments
 (0)