Skip to content

Commit fde74be

Browse files
authored
gh-73196: Add namespace/scope clarification for inheritance section (#92840)
Add namespace/scope clarification for inheritance section
1 parent 2a16835 commit fde74be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/tutorial/classes.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ this::
581581
.
582582
<statement-N>
583583

584-
The name :class:`BaseClassName` must be defined in a scope containing the
584+
The name :class:`BaseClassName` must be defined in a
585+
namespace accessible from the scope containing the
585586
derived class definition. In place of a base class name, other arbitrary
586587
expressions are also allowed. This can be useful, for example, when the base
587588
class is defined in another module::

0 commit comments

Comments
 (0)