MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _addr_only

Function _addr_only

tools/python-3.11.9-amd64/Lib/smtplib.py:159–164  ·  view source on GitHub ↗
(addrstring)

Source from the content-addressed store, hash-verified

157 return "<%s>" % addr
158
159def _addr_only(addrstring):
160 displayname, addr = email.utils.parseaddr(addrstring)
161 if (displayname, addr) == ('', ''):
162 # parseaddr couldn't parse it, so use it as is.
163 return addrstring
164 return addr
165
166# Legacy method kept for backward compatibility.
167def quotedata(data):

Callers 2

verifyMethod · 0.85
expnMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected