Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a7de2f

Browse files
hugovkAA-Turner
andauthored
Infra: Add extlinks for python/cpython issues and PRs (#4426)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parenta22a2ac commit8a7de2f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎peps/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@
8383
# This config is a dictionary of external sites,
8484
# mapping unique short aliases to a base URL and a prefix.
8585
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html
86+
_repo="python/cpython"
8687
extlinks= {
88+
"cpython-issue": (f"https://github.com/{_repo}/issues/%s",f"{_repo}#%s"),
89+
"cpython-pr": (f"https://github.com/{_repo}/pull/%s",f"{_repo}#%s"),
8790
"pypi": ("https://pypi.org/project/%s/","%s"),
8891
}
8992

‎peps/pep-0749.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,8 +825,7 @@ This allows the following implementation strategy:
825825
* The generated ``__annotate__`` function uses the set to determine
826826
which annotations were defined in the class or module body, and return only those.
827827

828-
This was implemented in `python/cpython#130935
829-
<https://github.com/python/cpython/pull/130935>`__.
828+
This was implemented in:cpython-pr:`130935`.
830829

831830
Specification
832831
-------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp