[Python-checkins] cpython: Fix typo in test_time.py

victor.stinner python-checkins at python.org
Wed Aug 17 06:25:04 EDT 2016


https://hg.python.org/cpython/rev/4b3a9bb1994b
changeset:   102718:4b3a9bb1994b
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Aug 17 11:07:21 2016 +0200
summary:
  Fix typo in test_time.py

files:
  Lib/test/test_time.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py
--- a/Lib/test/test_time.py
+++ b/Lib/test/test_time.py
@@ -729,7 +729,7 @@
         for seconds in (_testcapi.INT_MIN, _testcapi.INT_MAX):
             ns_timestamps.append(seconds * SEC_TO_NS)
         if use_float:
-            # numbers with an extract representation in IEEE 754 (base 2)
+            # numbers with an exact representation in IEEE 754 (base 2)
             for pow2 in (3, 7, 10, 15):
                 ns = 2.0 ** (-pow2)
                 ns_timestamps.extend((-ns, ns))

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list