Kaydet (Commit) fff07e34 authored tarafından Martin Panter's avatar Martin Panter

Merge spelling and grammar from 3.5

...@@ -581,7 +581,7 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules. ...@@ -581,7 +581,7 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules.
By default :mod:`shutil` provides these formats: By default :mod:`shutil` provides these formats:
- *zip*: ZIP file (unpacking compressed files works only if corresponding - *zip*: ZIP file (unpacking compressed files works only if the corresponding
module is available). module is available).
- *tar*: uncompressed tar file. - *tar*: uncompressed tar file.
- *gztar*: gzip'ed tar-file (if the :mod:`zlib` module is available). - *gztar*: gzip'ed tar-file (if the :mod:`zlib` module is available).
......
...@@ -94,7 +94,7 @@ class BuildRpmTestCase(support.TempdirManager, ...@@ -94,7 +94,7 @@ class BuildRpmTestCase(support.TempdirManager,
@unittest.skipIf(find_executable('rpmbuild') is None, @unittest.skipIf(find_executable('rpmbuild') is None,
'the rpmbuild command is not found') 'the rpmbuild command is not found')
def test_no_optimize_flag(self): def test_no_optimize_flag(self):
# let's create a package that brakes bdist_rpm # let's create a package that breaks bdist_rpm
tmp_dir = self.mkdtemp() tmp_dir = self.mkdtemp()
os.environ['HOME'] = tmp_dir # to confine dir '.rpmdb' creation os.environ['HOME'] = tmp_dir # to confine dir '.rpmdb' creation
pkg_dir = os.path.join(tmp_dir, 'foo') pkg_dir = os.path.join(tmp_dir, 'foo')
......
...@@ -2639,7 +2639,7 @@ class CAPITest(unittest.TestCase): ...@@ -2639,7 +2639,7 @@ class CAPITest(unittest.TestCase):
b'repr=%V', None, b'abc\xff') b'repr=%V', None, b'abc\xff')
# not supported: copy the raw format string. these tests are just here # not supported: copy the raw format string. these tests are just here
# to check for crashs and should not be considered as specifications # to check for crashes and should not be considered as specifications
check_format('%s', check_format('%s',
b'%1%s', b'abc') b'%1%s', b'abc')
check_format('%1abc', check_format('%1abc',
......
...@@ -2194,7 +2194,7 @@ Core and Builtins ...@@ -2194,7 +2194,7 @@ Core and Builtins
NULL). NULL).
- Issue #10829: Refactor PyUnicode_FromFormat(), use the same function to parse - Issue #10829: Refactor PyUnicode_FromFormat(), use the same function to parse
the format string in the 3 steps, fix crashs on invalid format strings. the format string in the 3 steps, fix crashes on invalid format strings.
- Issue #13007: whichdb should recognize gdbm 1.9 magic numbers. - Issue #13007: whichdb should recognize gdbm 1.9 magic numbers.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment