mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-32297: Few misspellings found in Python source code comments. (#4803)
* Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
This commit is contained in:
parent
5364b5cd75
commit
53f7a7c281
39 changed files with 71 additions and 71 deletions
|
@ -558,7 +558,7 @@ class TestOneTrickPonyABCs(ABCTestCase):
|
|||
|
||||
c = new_coro()
|
||||
self.assertIsInstance(c, Awaitable)
|
||||
c.close() # awoid RuntimeWarning that coro() was not awaited
|
||||
c.close() # avoid RuntimeWarning that coro() was not awaited
|
||||
|
||||
class CoroLike: pass
|
||||
Coroutine.register(CoroLike)
|
||||
|
@ -608,7 +608,7 @@ class TestOneTrickPonyABCs(ABCTestCase):
|
|||
|
||||
c = new_coro()
|
||||
self.assertIsInstance(c, Coroutine)
|
||||
c.close() # awoid RuntimeWarning that coro() was not awaited
|
||||
c.close() # avoid RuntimeWarning that coro() was not awaited
|
||||
|
||||
class CoroLike:
|
||||
def send(self, value):
|
||||
|
@ -1615,7 +1615,7 @@ class TestCollectionABCs(ABCTestCase):
|
|||
'__len__', '__getitem__', '__setitem__', '__delitem__', 'insert')
|
||||
|
||||
def test_MutableSequence_mixins(self):
|
||||
# Test the mixins of MutableSequence by creating a miminal concrete
|
||||
# Test the mixins of MutableSequence by creating a minimal concrete
|
||||
# class inherited from it.
|
||||
class MutableSequenceSubclass(MutableSequence):
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue