[Python-checkins] Update functions.rst (GH-16468)
Miss Islington (bot)
webhook-mailer at python.org
Wed Nov 20 21:17:56 EST 2019
https://github.com/python/cpython/commit/23f9be24bc55b98dc86f87714b08073958f93485
commit: 23f9be24bc55b98dc86f87714b08073958f93485
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-11-20T18:17:51-08:00
summary:
Update functions.rst (GH-16468)
This PR will make the following changes to the [_Built-in Functions_](https://docs.python.org/3/library/functions.html) chapter of the library documentation:
- improve hyperlinks in Sphinx roles (trailing 's' belong to hyperlinks).
Automerge-Triggered-By: @csabella
(cherry picked from commit d67279147ace3b63187e5d75a15c345264f39e85)
Co-authored-by: Géry Ogam <gery.ogam at gmail.com>
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index ca2a039ea43d7..7968eef4fb96b 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -471,7 +471,7 @@ are always available. They are listed here in alphabetical order.
dictionary is omitted it defaults to the *globals* dictionary. If both
dictionaries are omitted, the expression is executed with the *globals* and
*locals* in the environment where :func:`eval` is called. Note, *eval()*
- does not have access to the :term:`nested scope`\s (non-locals) in the
+ does not have access to the :term:`nested scopes <nested scope>` (non-locals) in the
enclosing environment.
The return value is the result of
@@ -1636,7 +1636,7 @@ are always available. They are listed here in alphabetical order.
# super(C, self).method(arg)
In addition to method lookups, :func:`super` also works for attribute
- lookups. One possible use case for this is calling :term:`descriptor`\s
+ lookups. One possible use case for this is calling :term:`descriptors <descriptor>`
in a parent or sibling class.
Note that :func:`super` is implemented as part of the binding process for
More information about the Python-checkins
mailing list