Skip to content

Commit d2647ea

Browse files
gh-101503: Exclude renamed argparse._SubParsersAction.add_parser HTML id
Renaming _SubParsersAction to the public SubParsersAction changes the Sphinx-generated anchor for its add_parser method, which the check-html-ids CI job flags as a broken external link. Declare the old anchor as an intentionally removed id, per the check's own instructions. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent ac449af commit d2647ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Doc/tools/removed-ids.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ using/configure.html: cmdoption-with-system-libmpdec
2424
# Removed APIs
2525
library/symtable.html: symtable.Class.get_methods
2626
library/sys.html: sys._enablelegacywindowsfsencoding
27+
library/argparse.html: argparse._SubParsersAction.add_parser
2728
c-api/import.html: c.PyImport_LazyImportsMode.PyImport_LAZY_NONE
2829
c-api/frame.html: c.PyUnstable_EXECUTABLE_KINDS
2930
c-api/frame.html: c.PyUnstable_ExecutableKinds

0 commit comments

Comments
 (0)