MCPcopy Index your code
hub / github.com/python/cpython / decode

Method decode

Lib/imaplib.py:1754–1757  ·  view source on GitHub ↗
(self, inp)

Source from the content-addressed store, hash-verified

1752 return oup
1753
1754 def decode(self, inp):
1755 if not inp:
1756 return b''
1757 return binascii.a2b_base64(inp)
1758
1759Months = ' Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' ')
1760Mon2num = {s.encode():n+1 for n, s in enumerate(Months[1:])}

Callers 3

processMethod · 0.95
authenticateMethod · 0.45
_check_byeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected