mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #10488 from tk0miya/10483_Optional
Close #10483: Fix type annotations for Sphinx.__init__()
This commit is contained in:
commit
792c32fc19
@ -129,7 +129,7 @@ class Sphinx:
|
||||
|
||||
def __init__(self, srcdir: str, confdir: Optional[str], outdir: str, doctreedir: str,
|
||||
buildername: str, confoverrides: Dict = None,
|
||||
status: IO = sys.stdout, warning: IO = sys.stderr,
|
||||
status: Optional[IO] = sys.stdout, warning: Optional[IO] = sys.stderr,
|
||||
freshenv: bool = False, warningiserror: bool = False, tags: List[str] = None,
|
||||
verbosity: int = 0, parallel: int = 0, keep_going: bool = False) -> None:
|
||||
self.phase = BuildPhase.INITIALIZATION
|
||||
|
Loading…
Reference in New Issue
Block a user