| 226 | } |
| 227 | |
| 228 | static PyObject * |
| 229 | Signature__str__(Signature *self) |
| 230 | { |
| 231 | PyObject *name, *email, *str; |
| 232 | name = to_unicode_safe(self->signature->name, self->encoding); |
| 233 | email = to_unicode_safe(self->signature->email, self->encoding); |
| 234 | assert(name); |
| 235 | assert(email); |
| 236 | |
| 237 | str = PyUnicode_FromFormat("%U <%U>", name, email); |
| 238 | Py_DECREF(name); |
| 239 | Py_DECREF(email); |
| 240 | return str; |
| 241 | } |
| 242 | |
| 243 | static PyObject * |
| 244 | Signature__repr__(Signature *self) |
nothing calls this directly
no test coverage detected
searching dependent graphs…