]> granicus.if.org Git - python/commitdiff
#6927: fix wrong word.
authorGeorg Brandl <georg@python.org>
Thu, 22 Oct 2009 16:08:10 +0000 (16:08 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 22 Oct 2009 16:08:10 +0000 (16:08 +0000)
Doc/reference/compound_stmts.rst
Doc/reference/datamodel.rst

index 4444f182dae4a5656877b04682fee55463ed14f4..f78ddcff7e40ab77c80d74e633d2be9d5f77ed5a 100644 (file)
@@ -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
index e3abeb74f9632cd66c4178cd453690c50ae44c50..971c06e643b90e5d6f76eeecc9cfa6af0706a0fb 100644 (file)
@@ -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.