Add PEP substitution in changelog.

This commit is contained in:
Jason R. Coombs 2017-01-23 07:10:36 -05:00
parent 9f6eea591e
commit 21a4e86e6f

View File

@ -42,6 +42,10 @@ link_files = {
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n", pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n", with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
), ),
dict(
pattern=r"PEP[- ](?P<pep_number>\d+)",
url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
),
], ],
), ),
} }