[Python-checkins] bpo-32923: Unittest doc: replace `whilst` with `while` (GH-5833)

Mariatta webhook-mailer at python.org
Fri Feb 23 12:51:16 EST 2018


https://github.com/python/cpython/commit/98f42aac23f3863973cb6e9964c5212cfd3a1d98
commit: 98f42aac23f3863973cb6e9964c5212cfd3a1d98
branch: master
author: Mariatta <Mariatta at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-02-23T09:51:11-08:00
summary:

bpo-32923: Unittest doc: replace `whilst` with `while` (GH-5833)

`whilst` and `while` are both english words, `whilst` is not as commonly used.
This can be confusing to readers whose primary language is not english.

files:
M Doc/library/unittest.rst

diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 93ccd0fd6113..af71be40b89f 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -2316,7 +2316,7 @@ handling functionality within test frameworks.
 
    When called without arguments this function removes the control-c handler
    if it has been installed. This function can also be used as a test decorator
-   to temporarily remove the handler whilst the test is being executed::
+   to temporarily remove the handler while the test is being executed::
 
       @unittest.removeHandler
       def test_signal_handling(self):



More information about the Python-checkins mailing list