Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _decode_base64
Method
_decode_base64
Lib/test/test_smtplib.py:886–887 ·
view source on GitHub ↗
(self, string)
Source
from the content-addressed store, hash-verified
884
self.smtp_state = self.COMMAND
885
886
def
_decode_base64(self, string):
887
return
base64.decodebytes(string.encode(
'ascii'
)).decode(
'utf-8'
)
888
889
def
_auth_plain(self, arg=None):
890
if
arg is None:
Callers
3
_auth_plain
Method · 0.95
_auth_login
Method · 0.95
_auth_cram_md5
Method · 0.95
Calls
2
decode
Method · 0.45
encode
Method · 0.45
Tested by
no test coverage detected