mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Fix third-party issues found by stubtest (#6667)
This commit is contained in:
@@ -110,3 +110,4 @@ sqlalchemy.sql.expression.quoted_name.lower
|
||||
sqlalchemy.sql.expression.quoted_name.upper
|
||||
sqlalchemy.sql.quoted_name.lower
|
||||
sqlalchemy.sql.quoted_name.upper
|
||||
sqlalchemy.util.callable
|
||||
|
||||
@@ -17,7 +17,7 @@ from .base import (
|
||||
_MappedAttribute as _MappedAttribute,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
__all__ = (
|
||||
"EXT_CONTINUE",
|
||||
"EXT_STOP",
|
||||
"EXT_SKIP",
|
||||
@@ -31,7 +31,7 @@ __all__ = [
|
||||
"MapperProperty",
|
||||
"PropComparator",
|
||||
"StrategizedProperty",
|
||||
]
|
||||
)
|
||||
|
||||
class ORMStatementRole(roles.StatementRole): ...
|
||||
class ORMColumnsClauseRole(roles.ColumnsClauseRole): ...
|
||||
|
||||
@@ -11,7 +11,7 @@ class BeautifulSoupHTMLParser(HTMLParser):
|
||||
on_duplicate_attribute: Any
|
||||
already_closed_empty_element: Any
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def error(self, msg) -> None: ...
|
||||
def error(self, msg: str) -> None: ...
|
||||
def handle_startendtag(self, name, attrs) -> None: ...
|
||||
def handle_starttag(self, name, attrs, handle_empty_element: bool = ...) -> None: ...
|
||||
def handle_endtag(self, name, check_already_closed: bool = ...) -> None: ...
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user