Fix spelling and grammar in code comments and documentation · python/cpython@2f9171d · GitHub
Skip to content

Commit 2f9171d

Browse files
committed
Fix spelling and grammar in code comments and documentation
1 parent c69fd86 commit 2f9171d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/shutil.rst

Lines changed: 1 addition & 1 deletion

Lib/distutils/tests/test_bdist_rpm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def test_quiet(self):
9696
@unittest.skipIf(find_executable('rpmbuild') is None,
9797
'the rpmbuild command is not found')
9898
def test_no_optimize_flag(self):
99-
# let's create a package that brakes bdist_rpm
99+
# let's create a package that breaks bdist_rpm
100100
tmp_dir = self.mkdtemp()
101101
os.environ['HOME'] = tmp_dir # to confine dir '.rpmdb' creation
102102
pkg_dir = os.path.join(tmp_dir, 'foo')

Lib/test/test_unicode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2615,7 +2615,7 @@ def check_format(expected, format, *args):
26152615
b'repr=%V', None, b'abc\xff')
26162616

26172617
# not supported: copy the raw format string. these tests are just here
2618-
# to check for crashs and should not be considered as specifications
2618+
# to check for crashes and should not be considered as specifications
26192619
check_format('%s',
26202620
b'%1%s', b'abc')
26212621
check_format('%1abc',

Misc/HISTORY

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)