mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix typos in comments, docs and test names (#15018)
* Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
This commit is contained in:
parent
0acb646b8e
commit
c4cacc8c5e
63 changed files with 73 additions and 73 deletions
|
|
@ -424,8 +424,8 @@ class TestNamedTuple(unittest.TestCase):
|
|||
|
||||
self.assertIsInstance(p, tuple)
|
||||
self.assertEqual(p, (11, 22)) # matches a real tuple
|
||||
self.assertEqual(tuple(p), (11, 22)) # coercable to a real tuple
|
||||
self.assertEqual(list(p), [11, 22]) # coercable to a list
|
||||
self.assertEqual(tuple(p), (11, 22)) # coercible to a real tuple
|
||||
self.assertEqual(list(p), [11, 22]) # coercible to a list
|
||||
self.assertEqual(max(p), 22) # iterable
|
||||
self.assertEqual(max(*p), 22) # star-able
|
||||
x, y = p
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue