Skip to content

Commit 0085f20

Browse files
slatenympage
authored andcommitted
pythongh-73196: Add namespace/scope clarification for inheritance section (python#92840)
Add namespace/scope clarification for inheritance section
1 parent 9f5d3b5 commit 0085f20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/tutorial/classes.rst

Lines changed: 2 additions & 1 deletion
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)