File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 66from __future__ import annotations
77
88import gzip
9+ import os
910import re
1011from os import path
11- from typing import TYPE_CHECKING , Any
12+ from typing import Any
1213
1314from docutils import nodes
1415from sphinx import addnodes
2526except ImportError :
2627 import lxml .etree as etree # type: ignore
2728
28- if TYPE_CHECKING :
29- from pathlib import Path
30-
3129__version__ = '1.0.4'
3230__version_info__ = (1 , 0 , 4 )
3331
@@ -64,7 +62,7 @@ def init(self) -> None:
6462 def handle_finish (self ) -> None :
6563 self .build_devhelp (self .outdir , self .config .devhelp_basename )
6664
67- def build_devhelp (self , outdir : Path , outname : str ) -> None :
65+ def build_devhelp (self , outdir : str | os . PathLike [ str ] , outname : str ) -> None :
6866 logger .info (__ ('dumping devhelp index...' ))
6967
7068 # Basic info
You can’t perform that action at this time.
0 commit comments