Skip to content

Commit a978c37

Browse files
committed
Update
1 parent dcebffc commit a978c37

File tree

9 files changed

+66
-2
lines changed

9 files changed

+66
-2
lines changed

stdlib/@tests/stubtest_allowlists/darwin-py310.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# =======
2+
# <= 3.12
3+
# =======
4+
5+
# Added in Python 3.10.18 (parameter `escapable`)
6+
email.parser.HTMLParser.set_cdata_mode
7+
8+
19
# =======
210
# <= 3.11
311
# =======

stdlib/@tests/stubtest_allowlists/darwin-py311.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ fcntl.F_OFD_SETLK
88
fcntl.F_OFD_SETLKW
99

1010

11+
# =======
12+
# <= 3.12
13+
# =======
14+
15+
# Added in Python 3.11.13 (parameter `escapable`)
16+
email.parser.HTMLParser.set_cdata_mode
17+
18+
1119
# =======
1220
# <= 3.11
1321
# =======

stdlib/@tests/stubtest_allowlists/darwin-py312.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ fcntl.F_OFD_SETLK
88
fcntl.F_OFD_SETLKW
99

1010

11+
# =======
12+
# <= 3.12
13+
# =======
14+
15+
# Added in Python 3.12.11 (parameter `escapable`)
16+
email.parser.HTMLParser.set_cdata_mode
17+
18+
1119
# =============================================================
1220
# Allowlist entries that cannot or should not be fixed; <= 3.12
1321
# =============================================================

stdlib/@tests/stubtest_allowlists/darwin-py39.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# =======
2+
# <= 3.12
3+
# =======
4+
5+
# Added in Python 3.9.23 (parameter `escapable`)
6+
email.parser.HTMLParser.set_cdata_mode
7+
8+
19
# =======
210
# <= 3.11
311
# =======

stdlib/@tests/stubtest_allowlists/win32-py310.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# =======
2+
# <= 3.12
3+
# =======
4+
5+
# Added in Python 3.10.18 (parameter `escapable`)
6+
email.parser.HTMLParser.set_cdata_mode
7+
8+
19
# =======
210
# <= 3.11
311
# =======

stdlib/@tests/stubtest_allowlists/win32-py311.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# =======
2+
# <= 3.12
3+
# =======
4+
5+
# Added in Python 3.11.13 (parameter `escapable`)
6+
email.parser.HTMLParser.set_cdata_mode
7+
8+
19
# =======
210
# <= 3.11
311
# =======

stdlib/@tests/stubtest_allowlists/win32-py312.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ _winapi.GetLongPathName
1616
_winapi.GetShortPathName
1717

1818

19+
# =======
20+
# <= 3.12
21+
# =======
22+
23+
# Added in Python 3.12.11 (parameter `escapable`)
24+
email.parser.HTMLParser.set_cdata_mode
25+
26+
1927
# =============================================================
2028
# Allowlist entries that cannot or should not be fixed; <= 3.12
2129
# =============================================================

stdlib/@tests/stubtest_allowlists/win32-py39.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# =======
2+
# <= 3.12
3+
# =======
4+
5+
# Added in Python 3.9.23 (parameter `escapable`)
6+
email.parser.HTMLParser.set_cdata_mode
7+
8+
19
# =======
210
# <= 3.11
311
# =======

stdlib/html/parser.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ __all__ = ["HTMLParser"]
66

77
class HTMLParser(ParserBase):
88
CDATA_CONTENT_ELEMENTS: Final[tuple[str, ...]]
9-
# Added in later patch versions: 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.6
9+
# Added in Python 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.6
1010
RCDATA_CONTENT_ELEMENTS: Final[tuple[str, ...]]
1111

1212
def __init__(self, *, convert_charrefs: bool = True) -> None: ...
@@ -30,7 +30,7 @@ class HTMLParser(ParserBase):
3030
def parse_html_declaration(self, i: int) -> int: ... # undocumented
3131
def parse_pi(self, i: int) -> int: ... # undocumented
3232
def parse_starttag(self, i: int) -> int: ... # undocumented
33-
# `escapable` parameter added in later patch versions: 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.6
33+
# `escapable` parameter added in Python 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.6
3434
def set_cdata_mode(self, elem: str, *, escapable: bool = False) -> None: ... # undocumented
3535
rawdata: str # undocumented
3636
cdata_elem: str | None # undocumented

0 commit comments

Comments
 (0)