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