gh-73196: Add namespace/scope clarification for inheritance section (#92840)

Add namespace/scope clarification for inheritance section
This commit is contained in:
Stanley 2022-10-07 12:04:14 -07:00 committed by GitHub
parent 2a168355f0
commit fde74be61b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -581,7 +581,8 @@ this::
. .
<statement-N> <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 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 expressions are also allowed. This can be useful, for example, when the base
class is defined in another module:: class is defined in another module::