From: Georg Brandl Date: Thu, 22 Oct 2009 16:08:10 +0000 (+0000) Subject: #6927: fix wrong word. X-Git-Tag: v3.2a1~2351 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f43713f9a78bd89d6ef23fd728391e714b28fb0c;p=thirdparty%2FPython%2Fcpython.git #6927: fix wrong word. --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 4444f182dae4..f78ddcff7e40 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -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 :keyword:`finally` clause that negates the exception. -.. [#] Currently, control "flows off the end" except in the case of an exception or the - execution of a :keyword:`return`, :keyword:`continue`, or :keyword:`break` - statement. +.. [#] Currently, control "flows off the end" except in the case of an exception + or the execution of a :keyword:`return`, :keyword:`continue`, or + :keyword:`break` statement. .. [#] A string literal appearing as the first statement in the function body is transformed into the function's ``__doc__`` attribute and therefore the diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index e3abeb74f963..971c06e643b9 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1532,7 +1532,7 @@ returning an ordered dictionary. 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.