Visitar URL original
Linkify the PEP numbers in "Superseded-By" header. by Mariatta · Pull Request #726 · python/peps · GitHub
The Wayback Machine - https://web.archive.org/web/20210202061932/https://github.com/python/peps/pull/726
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linkify the PEP numbers in "Superseded-By" header. #726

Merged
merged 2 commits into from Jul 10, 2018

Conversation

@Mariatta
Copy link
Member

@Mariatta Mariatta commented Jul 10, 2018

We're already linking PEP numbers in "Replaces:", and "Requires:".

Adjusted the code so it can link "Superseded-By:".

Add the "Replaces:" header where they're missing.

Closes #477

We're already linking PEP numbers in "Replaces:", and "Requires:".

Adjusted the code so it can link "Superseded-By:".

Add the "Replaces:" header where they're missing.
@@ -235,7 +235,7 @@ def fixfile(inpath, input_lines, outfile):
else:
mailtos.append(part)
v = COMMASPACE.join(mailtos)
elif k.lower() in ('replaces', 'replaced-by', 'requires'):
elif k.lower() in ('replaces', 'superseded-by', 'requires'):

This comment has been minimized.

@Mariatta

Mariatta Jul 10, 2018
Author Member

There's no "replaced-by" header anywhere.

@Mariatta Mariatta merged commit 3c0a1e1 into python:master Jul 10, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@Mariatta Mariatta deleted the Mariatta:issue-477 branch Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants