Issue #27430: Fix typos, patch by scop.

This commit is contained in:
Berker Peksag 2016-07-01 12:17:05 +03:00
parent 660c8fc997
commit e39682b076
4 changed files with 4 additions and 4 deletions

View File

@ -2666,7 +2666,7 @@ require changes to your code:
* The :class:`xml.etree.ElementTree` class now raises an * The :class:`xml.etree.ElementTree` class now raises an
:exc:`xml.etree.ElementTree.ParseError` when a parse fails. Previously it :exc:`xml.etree.ElementTree.ParseError` when a parse fails. Previously it
raised a :exc:`xml.parsers.expat.ExpatError`. raised an :exc:`xml.parsers.expat.ExpatError`.
* The new, longer :func:`str` value on floats may break doctests which rely on * The new, longer :func:`str` value on floats may break doctests which rely on
the old output format. the old output format.

View File

@ -900,7 +900,7 @@ class SMTP:
the recipient addresses contain non-ASCII and the server advertises the the recipient addresses contain non-ASCII and the server advertises the
SMTPUTF8 capability, the policy is cloned with utf8 set to True for the SMTPUTF8 capability, the policy is cloned with utf8 set to True for the
serialization, and SMTPUTF8 and BODY=8BITMIME are asserted on the send. serialization, and SMTPUTF8 and BODY=8BITMIME are asserted on the send.
If the server does not support SMTPUTF8, an SMPTNotSupported error is If the server does not support SMTPUTF8, an SMTPNotSupported error is
raised. Otherwise the generator is called without modifying the raised. Otherwise the generator is called without modifying the
policy. policy.

View File

@ -339,7 +339,7 @@ class Test_TestCase(unittest.TestCase, TestEquality, TestHashing):
self._check_call_order__subtests(result, events, expected) self._check_call_order__subtests(result, events, expected)
def test_run_call_order__subtests_legacy(self): def test_run_call_order__subtests_legacy(self):
# With a legacy result object (without a addSubTest method), # With a legacy result object (without an addSubTest method),
# text execution stops after the first subtest failure. # text execution stops after the first subtest failure.
events = [] events = []
result = LegacyLoggingResult(events) result = LegacyLoggingResult(events)

View File

@ -240,7 +240,7 @@ Library
- Issue #26556: Update expat to 2.1.1, fixes CVE-2015-1283. - Issue #26556: Update expat to 2.1.1, fixes CVE-2015-1283.
- Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team - Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team
Oststrom Oststrom
- Issue #21386: Implement missing IPv4Address.is_global property. It was - Issue #21386: Implement missing IPv4Address.is_global property. It was