diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-02-01 18:15:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 18:15:11 (GMT) |
commit | 1bb64e52ea95d18b68d761c1bee6042561e23835 (patch) | |
tree | 45815882b3466b367efd28989cc3237313f55ea6 /Doc/library/symtable.rst | |
parent | a8a1df05f76a2fb34c1ce8167fd24484a70d48b2 (diff) | |
download | cpython-1bb64e52ea95d18b68d761c1bee6042561e23835.zip cpython-1bb64e52ea95d18b68d761c1bee6042561e23835.tar.gz cpython-1bb64e52ea95d18b68d761c1bee6042561e23835.tar.bz2 |
[3.12] Correct description of inheriting from another class (GH-114660) (#114868)
"inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>".
(cherry picked from commit c9c6e04380ffedd25ea2e582f9057ab9612960c9)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
Diffstat (limited to 'Doc/library/symtable.rst')
-rw-r--r-- | Doc/library/symtable.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst index 85eae5f..15fb85b 100644 --- a/Doc/library/symtable.rst +++ b/Doc/library/symtable.rst @@ -97,7 +97,7 @@ Examining Symbol Tables .. class:: Function - A namespace for a function or method. This class inherits + A namespace for a function or method. This class inherits from :class:`SymbolTable`. .. method:: get_parameters() @@ -123,7 +123,7 @@ Examining Symbol Tables .. class:: Class - A namespace of a class. This class inherits :class:`SymbolTable`. + A namespace of a class. This class inherits from :class:`SymbolTable`. .. method:: get_methods() |