Skip to content

Commit fe27581

Browse files
committed
a few typos corrected
1 parent 28c6982 commit fe27581

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pep-0485.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
Title: A Function for testing approximate equality
32
Version: $Revision$
43
Last-Modified: $Date$
@@ -9,6 +8,7 @@ Content-Type: text/x-rst
98
Created: 20-Jan-2015
109
Python-Version: 3.5
1110
Post-History:
11+
Resolution: https://mail.python.org/pipermail/python-dev/2015-February/138598.html
1212

1313

1414
Abstract
@@ -113,21 +113,21 @@ The primary use-case is expected to be floating point numbers.
113113
However, users may want to compare other numeric types similarly. In
114114
theory, it should work for any type that supports ``abs()``,
115115
multiplication, comparisons, and subtraction. However, the implimentation
116-
in teh math module is written in C, and thus can not (easily) use python's
116+
in the math module is written in C, and thus can not (easily) use python's
117117
duck typing. Rather, the values passed into the funciton will be converted
118118
to the float type before the calculation is performed. Passing in types
119119
(or values) that cannot be converted to floats will raise an appropirate
120120
Exception (TypeError, ValueError, or OverflowError).
121121

122-
The code will be tested to accommodate at least some vlues of these types:
122+
The code will be tested to accommodate at least some values of these types:
123123

124124
* ``Decimal``
125125

126126
* ``int``
127127

128128
* ``Fraction``
129129

130-
* ``complex``: For complex, a compmanion function will be added to the
130+
* ``complex``: For complex, a companion function will be added to the
131131
``cmath`` module. In ``cmath.isclose()``, the tolerances are specified
132132
as floats, and the absolute value of the complex values
133133
will be used for scaling and comparison. If a complex tolerance is
@@ -645,4 +645,4 @@ This document has been placed in the public domain.
645645
indent-tabs-mode: nil
646646
sentence-end-double-space: t
647647
fill-column: 70
648-
coding: utf-8
648+
coding: utf-8

0 commit comments

Comments
 (0)