[Python-checkins] use rich markup for PEP reference (GH-7939)

Miss Islington (bot) webhook-mailer at python.org
Wed Jun 27 00:20:13 EDT 2018


https://github.com/python/cpython/commit/c0327cefc7ef4892002970a73714f6bc6f70ce66
commit: c0327cefc7ef4892002970a73714f6bc6f70ce66
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-06-26T21:20:10-07:00
summary:

use rich markup for PEP reference (GH-7939)


it's better to refer to PEP with `pep` role in reStructuredText. It also links to the PEP page.
(cherry picked from commit df748c20dabcec5a6e89e0dd74fff21110f8755a)

Co-authored-by: Behzad B. Mokhtari <35877268+perplexionist at users.noreply.github.com>

files:
M Doc/tutorial/modules.rst

diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index a4c766efb72d..04352cf6e9d2 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -249,7 +249,7 @@ Some tips for experts:
   directory.
 
 * There is more detail on this process, including a flow chart of the
-  decisions, in PEP 3147.
+  decisions, in :pep:`3147`.
 
 
 .. _tut-standardmodules:



More information about the Python-checkins mailing list