diff options
author | Georg Brandl <georg@python.org> | 2010-10-06 10:26:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-06 10:26:05 (GMT) |
commit | 682d7e0e07bc29de4578f48be66756c5b969776f (patch) | |
tree | 4e1c379e13ebca676c4fbee38ed251ecc88c1133 /Doc/reference | |
parent | fa4f7f97b8af16c02441443e448986c07f4cd254 (diff) | |
download | cpython-682d7e0e07bc29de4578f48be66756c5b969776f.zip cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.gz cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.bz2 |
Fix errors found by "make suspicious".
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/executionmodel.rst | 2 | ||||
-rw-r--r-- | Doc/reference/expressions.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index b4c29b1..861163e 100644 --- a/Doc/reference/executionmodel.rst +++ b/Doc/reference/executionmodel.rst @@ -87,7 +87,7 @@ The following constructs bind names: formal parameters to functions, :keyword:`import` statements, class and function definitions (these bind the class or function name in the defining block), and targets that are identifiers if occurring in an assignment, :keyword:`for` loop header, or after -:keyword:`as` in a :keyword:`with` statement or :keyword.`except` clause. +:keyword:`as` in a :keyword:`with` statement or :keyword:`except` clause. The :keyword:`import` statement of the form ``from ... import *`` binds all names defined in the imported module, except those beginning with an underscore. This form may only be used diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index f8f0455..9c97c6d 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1063,7 +1063,7 @@ and therefore not exactly equal to ``Decimal('1.1')`` which is. When cross-type comparison is not supported, the comparison method returns ``NotImplemented``. This can create the illusion of non-transitivity between supported cross-type comparisons and unsupported comparisons. For example, -``Decimal(2) == 2`` and `2 == float(2)`` but ``Decimal(2) != float(2)``. +``Decimal(2) == 2`` and ``2 == float(2)`` but ``Decimal(2) != float(2)``. .. _membership-test-details: |