Skip to content

Commit aee4a77

Browse files
committed
Hopefully fix jedi issue
1 parent e99b69f commit aee4a77

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/trio/_core/_traps.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44

55
import enum
66
import types
7-
from collections.abc import Awaitable, Callable
8-
from typing import TYPE_CHECKING, Any, NoReturn, Union, cast
7+
from collections.abc import Awaitable
8+
9+
# Jedi gets mad in test_static_tool_sees_class_members if we use collections Callable
10+
from typing import TYPE_CHECKING, Any, Callable, NoReturn, Union, cast
911

1012
import attrs
1113
import outcome

0 commit comments

Comments
 (0)