Skip to content

Commit 466ccd0

Browse files
committed
Revert flit-core 3.11 temporary fix
1 parent 41e0cf0 commit 466ccd0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sphinx/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77

88
import warnings
99

10-
# work around flit error in parsing annotated assignments
11-
try:
12-
from sphinx.util._pathlib import _StrPath
13-
except ImportError:
14-
from pathlib import Path as _StrPath # type: ignore[assignment]
10+
from sphinx.util._pathlib import _StrPath
1511

1612
TYPE_CHECKING = False
1713
if TYPE_CHECKING:

0 commit comments

Comments
 (0)