mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
This commit is contained in:
parent
eb9aca3c07
commit
46f50726a0
67 changed files with 241 additions and 241 deletions
|
@ -1227,7 +1227,7 @@ class TestDate(HarmlessMixedComparison, unittest.TestCase):
|
|||
#self.assertRaises(ValueError, t.strftime, "%#")
|
||||
|
||||
#oh well, some systems just ignore those invalid ones.
|
||||
#at least, excercise them to make sure that no crashes
|
||||
#at least, exercise them to make sure that no crashes
|
||||
#are generated
|
||||
for f in ["%e", "%", "%#"]:
|
||||
try:
|
||||
|
@ -2476,7 +2476,7 @@ class TestTime(HarmlessMixedComparison, unittest.TestCase):
|
|||
self.theclass(bytes([1] * len(base)), 'EST')
|
||||
|
||||
# A mixin for classes with a tzinfo= argument. Subclasses must define
|
||||
# theclass as a class atribute, and theclass(1, 1, 1, tzinfo=whatever)
|
||||
# theclass as a class attribute, and theclass(1, 1, 1, tzinfo=whatever)
|
||||
# must be legit (which is true for time and datetime).
|
||||
class TZInfoBase:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue