diff options
author | Pablo Aguiar <scorphus@gmail.com> | 2018-11-01 10:33:35 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-01 10:33:35 (GMT) |
commit | 4b5e62dbb22a3593e0db266c12f805b727a42b00 (patch) | |
tree | 280202868730927451a2c2be4205cdd675764165 /Lib/smtplib.py | |
parent | a1c249c40517917d2e0971d55aea8d14a44b2cc8 (diff) | |
download | cpython-4b5e62dbb22a3593e0db266c12f805b727a42b00.zip cpython-4b5e62dbb22a3593e0db266c12f805b727a42b00.tar.gz cpython-4b5e62dbb22a3593e0db266c12f805b727a42b00.tar.bz2 |
bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268)
Diffstat (limited to 'Lib/smtplib.py')
-rwxr-xr-x | Lib/smtplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py index acfc358..3c5ac75 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -764,7 +764,7 @@ class SMTP: "exclusive") if keyfile is not None or certfile is not None: import warnings - warnings.warn("keyfile and certfile are deprecated, use a" + warnings.warn("keyfile and certfile are deprecated, use a " "custom context instead", DeprecationWarning, 2) if context is None: context = ssl._create_stdlib_context(certfile=certfile, @@ -1021,7 +1021,7 @@ if _have_ssl: "exclusive") if keyfile is not None or certfile is not None: import warnings - warnings.warn("keyfile and certfile are deprecated, use a" + warnings.warn("keyfile and certfile are deprecated, use a " "custom context instead", DeprecationWarning, 2) self.keyfile = keyfile self.certfile = certfile |