mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use PEP 585 syntax wherever possible (#6717)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from _markupbase import ParserBase
|
||||
from typing import Pattern, Tuple
|
||||
from typing import Pattern
|
||||
|
||||
class HTMLParser(ParserBase):
|
||||
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
|
||||
@@ -18,7 +18,7 @@ class HTMLParser(ParserBase):
|
||||
def handle_decl(self, decl: str) -> None: ...
|
||||
def handle_pi(self, data: str) -> None: ...
|
||||
def unknown_decl(self, data: str) -> None: ...
|
||||
CDATA_CONTENT_ELEMENTS: Tuple[str, ...]
|
||||
CDATA_CONTENT_ELEMENTS: tuple[str, ...]
|
||||
def check_for_whole_start_tag(self, i: int) -> int: ... # undocumented
|
||||
def clear_cdata_mode(self) -> None: ... # undocumented
|
||||
def goahead(self, end: bool) -> None: ... # undocumented
|
||||
|
||||
Reference in New Issue
Block a user