[Python-checkins] bpo-39002: Fix simple typo: tranlation -> translation (GH-17517) (GH-17538)

Raymond Hettinger webhook-mailer at python.org
Mon Dec 9 20:35:32 EST 2019


https://github.com/python/cpython/commit/859767d58ea8e34313f00fc102a810efff285941
commit: 859767d58ea8e34313f00fc102a810efff285941
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2019-12-09T17:35:25-08:00
summary:

bpo-39002: Fix simple typo: tranlation -> translation (GH-17517) (GH-17538)

(cherry picked from commit c18b805ac6a2d22176240ca93982fa1fb6559ec7)

Co-authored-by: Tim Gates <tim.gates at iress.com>

files:
A Misc/NEWS.d/next/Documentation/2019-12-09-10-12-00.bpo-39002.AfgvfO.rst
M Lib/test/test_statistics.py
M Misc/ACKS

diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py
index bebd9b5d6f502..a9a427bc8d972 100644
--- a/Lib/test/test_statistics.py
+++ b/Lib/test/test_statistics.py
@@ -2192,7 +2192,7 @@ def test_specific_cases(self):
                 quantiles(padded_data, n=n, method='inclusive'),
                 (n, data),
             )
-            # Invariant under tranlation and scaling
+            # Invariant under translation and scaling
             def f(x):
                 return 3.5 * x - 1234.675
             exp = list(map(f, expected))
@@ -2232,7 +2232,7 @@ def test_specific_cases_inclusive(self):
                 result = quantiles(map(datatype, data), n=n, method="inclusive")
                 self.assertTrue(all(type(x) == datatype) for x in result)
                 self.assertEqual(result, list(map(datatype, expected)))
-            # Invariant under tranlation and scaling
+            # Invariant under translation and scaling
             def f(x):
                 return 3.5 * x - 1234.675
             exp = list(map(f, expected))
diff --git a/Misc/ACKS b/Misc/ACKS
index 62c5928c508ff..a17db45657631 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1885,3 +1885,4 @@ Batuhan Taskaya
 Aleksandr Balezin
 Robert Leenders
 Ngalim Siregar
+Tim Gates
diff --git a/Misc/NEWS.d/next/Documentation/2019-12-09-10-12-00.bpo-39002.AfgvfO.rst b/Misc/NEWS.d/next/Documentation/2019-12-09-10-12-00.bpo-39002.AfgvfO.rst
new file mode 100644
index 0000000000000..a6dfa22eb7a16
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2019-12-09-10-12-00.bpo-39002.AfgvfO.rst
@@ -0,0 +1 @@
+Fix simple typo in Lib/test/test_statistics.py.



More information about the Python-checkins mailing list