mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
#6927: fix wrong word.
This commit is contained in:
parent
95a75046c0
commit
f43713f9a7
2 changed files with 4 additions and 4 deletions
|
@ -610,9 +610,9 @@ which is then bound to the class name.
|
||||||
.. [#] The exception is propagated to the invocation stack only if there is no
|
.. [#] The exception is propagated to the invocation stack only if there is no
|
||||||
:keyword:`finally` clause that negates the exception.
|
:keyword:`finally` clause that negates the exception.
|
||||||
|
|
||||||
.. [#] Currently, control "flows off the end" except in the case of an exception or the
|
.. [#] Currently, control "flows off the end" except in the case of an exception
|
||||||
execution of a :keyword:`return`, :keyword:`continue`, or :keyword:`break`
|
or the execution of a :keyword:`return`, :keyword:`continue`, or
|
||||||
statement.
|
:keyword:`break` statement.
|
||||||
|
|
||||||
.. [#] A string literal appearing as the first statement in the function body is
|
.. [#] A string literal appearing as the first statement in the function body is
|
||||||
transformed into the function's ``__doc__`` attribute and therefore the
|
transformed into the function's ``__doc__`` attribute and therefore the
|
||||||
|
|
|
@ -1532,7 +1532,7 @@ returning an ordered dictionary.
|
||||||
|
|
||||||
The appropriate metaclass is determined by the following precedence rules:
|
The appropriate metaclass is determined by the following precedence rules:
|
||||||
|
|
||||||
* If the ``metaclass`` keyword argument is based with the bases, it is used.
|
* If the ``metaclass`` keyword argument is passed with the bases, it is used.
|
||||||
|
|
||||||
* Otherwise, if there is at least one base class, its metaclass is used.
|
* Otherwise, if there is at least one base class, its metaclass is used.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue