Fix third-party issues found by stubtest (#6667)

This commit is contained in:
Sebastian Rittau
2021-12-23 00:09:44 +01:00
committed by GitHub
parent b842b21770
commit 9bf2ceb963
4 changed files with 5 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ class HTML2FPDF(HTMLParser):
def set_text_color(self, r: Any | None = ..., g: int = ..., b: int = ...) -> None: ...
def put_link(self, txt) -> None: ...
def render_toc(self, pdf, outline) -> None: ...
def error(self, message) -> None: ...
def error(self, message: str) -> None: ...
class HTMLMixin:
HTML2FPDF_CLASS: Any