Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions run_release.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -491,6 +491,11 @@ def prepare_pydoc_topics(db: ReleaseShelf) -> None:
db["git_repo"] / "Doc" / "build" / "pydoc-topics" / "topics.py",
db["git_repo"] / "Lib" / "pydoc_data" / "topics.py",
)
if db["release"].as_tuple() >= (3, 13):
shutil.copy2(
db["git_repo"] / "Doc" / "build" / "pydoc-topics" / "module_docs.py",
db["git_repo"] / "Lib" / "pydoc_data" / "module_docs.py",
)
subprocess.check_call(
["git", "commit", "-a", "--amend", "--no-edit"], cwd=db["git_repo"]
)
Expand Down
Loading