]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-73196: Add namespace/scope clarification for inheritance section (#92840)
authorStanley <46876382+slateny@users.noreply.github.com>
Fri, 7 Oct 2022 19:04:14 +0000 (12:04 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Oct 2022 19:04:14 +0000 (12:04 -0700)
Add namespace/scope clarification for inheritance section

Doc/tutorial/classes.rst

index f27abe48b2d4ed67d0747fb3bf7071bae023d1a3..9ecbf8b87efbf1bb1941b3e9c9868b9bc58926fa 100644 (file)
@@ -581,7 +581,8 @@ this::
        .
        <statement-N>
 
-The name :class:`BaseClassName` must be defined in a scope containing the
+The name :class:`BaseClassName` must be defined in a
+namespace accessible from the scope containing the
 derived class definition.  In place of a base class name, other arbitrary
 expressions are also allowed.  This can be useful, for example, when the base
 class is defined in another module::