Skip to content

Commit f228676

Browse files
committed
fix: fix pre commit error
1 parent a899e9c commit f228676

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/library/poplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ A :class:`POP3` instance has the following methods:
245245
.. versionadded:: 3.4
246246

247247

248-
.. method:: POP3.auth(mechanism, authobject=None, initial_response=None)
248+
.. method:: POP3.auth(self, mechanism, authobject, *, initial_response_ok=True)
249249

250250
Authenticate using the POP3 ``AUTH`` command as specified in :rfc:`5034`.
251251

Lib/poplib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def auth(self, mechanism, authobject, *, initial_response_ok=True):
451451
if len(cmd.encode('ascii')) + 2 <= 255:
452452
self._putcmd(cmd)
453453
else:
454-
self._putcmd(f'AUTH {mech}')
454+
self._putcmd(f'AUTH {mech}')
455455
else:
456456
self._putcmd(f'AUTH {mech}')
457457

@@ -543,7 +543,7 @@ def stls(self, context=None):
543543
SSL/TLS session.
544544
"""
545545
raise error_proto('-ERR TLS session already established')
546-
546+
547547

548548
__all__.append("POP3_SSL")
549549

0 commit comments

Comments
 (0)