diff options
author | Georg Brandl <georg@python.org> | 2009-10-22 16:08:10 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-10-22 16:08:10 (GMT) |
commit | f43713f9a78bd89d6ef23fd728391e714b28fb0c (patch) | |
tree | 021dc17fc40476b9c7dad44cf7ae4f4373b9b910 /Doc/reference | |
parent | 95a75046c0889eec8ea807035387432014f336df (diff) | |
download | cpython-f43713f9a78bd89d6ef23fd728391e714b28fb0c.zip cpython-f43713f9a78bd89d6ef23fd728391e714b28fb0c.tar.gz cpython-f43713f9a78bd89d6ef23fd728391e714b28fb0c.tar.bz2 |
#6927: fix wrong word.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/compound_stmts.rst | 6 | ||||
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 4444f18..f78ddcf 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 e3abeb7..971c06e 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. |