We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec32bb8 + 0da0068 commit 91a1350Copy full SHA for 91a1350
1 file changed
trio/_unix_pipes.py
@@ -2,13 +2,16 @@
2
3
import os
4
import errno
5
-from typing_extensions import Final as FinalType
+from typing import TYPE_CHECKING
6
7
from ._abc import Stream
8
from ._util import ConflictDetector, Final
9
10
import trio
11
12
+if TYPE_CHECKING:
13
+ from typing_extensions import Final as FinalType
14
+
15
if os.name != "posix":
16
# We raise an error here rather than gating the import in lowlevel.py
17
# in order to keep jedi static analysis happy.
0 commit comments