Skip to content

Commit ab1bef8

Browse files
authored
gh-136134: restore truncated comment post GH-136623 (#138088)
This amends 766614f where a comment has been incorrectly truncated.
1 parent 6620ef0 commit ab1bef8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/smtplib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ def login(self, user, password, *, initial_response_ok=True):
734734
preferred_auths = ['CRAM-MD5', 'PLAIN', 'LOGIN']
735735
else:
736736
preferred_auths = ['PLAIN', 'LOGIN']
737+
# We try the supported authentications in our preferred order, if
737738
# the server supports them.
738739
authlist = [auth for auth in preferred_auths
739740
if auth in advertised_authlist]

0 commit comments

Comments
 (0)