(self)
| 1589 | .. versionadded:: 2.8.1 |
| 1590 | """ |
| 1591 | def __str__(self): |
| 1592 | try: |
| 1593 | return self.args[0] % self.args[1:] |
| 1594 | except (TypeError, IndexError): |
| 1595 | return super().__str__() |
| 1596 | |
| 1597 | def __repr__(self): |
| 1598 | args = ", ".join("'%s'" % arg for arg in self.args) |
nothing calls this directly
no outgoing calls
no test coverage detected