Skip to content

Commit 23f9be2

Browse files
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 d672791) Co-authored-by: Géry Ogam <[email protected]>
1 parent d5d41d3 commit 23f9be2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/functions.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ are always available. They are listed here in alphabetical order.
471471
dictionary is omitted it defaults to the *globals* dictionary. If both
472472
dictionaries are omitted, the expression is executed with the *globals* and
473473
*locals* in the environment where :func:`eval` is called. Note, *eval()*
474-
does not have access to the :term:`nested scope`\s (non-locals) in the
474+
does not have access to the :term:`nested scopes <nested scope>` (non-locals) in the
475475
enclosing environment.
476476

477477
The return value is the result of
@@ -1636,7 +1636,7 @@ are always available. They are listed here in alphabetical order.
16361636
# super(C, self).method(arg)
16371637

16381638
In addition to method lookups, :func:`super` also works for attribute
1639-
lookups. One possible use case for this is calling :term:`descriptor`\s
1639+
lookups. One possible use case for this is calling :term:`descriptors <descriptor>`
16401640
in a parent or sibling class.
16411641

16421642
Note that :func:`super` is implemented as part of the binding process for

0 commit comments

Comments
 (0)