(self)
| 85 | self.display_name, self.username, self.domain) |
| 86 | |
| 87 | def __str__(self): |
| 88 | disp = self.display_name |
| 89 | if not parser.SPECIALS.isdisjoint(disp): |
| 90 | disp = parser.quote_string(disp) |
| 91 | if disp: |
| 92 | addr_spec = '' if self.addr_spec=='<>' else self.addr_spec |
| 93 | return "{} <{}>".format(disp, addr_spec) |
| 94 | return self.addr_spec |
| 95 | |
| 96 | def __eq__(self, other): |
| 97 | if not isinstance(other, Address): |
nothing calls this directly
no test coverage detected