Mercurial > cpython-lru_cache-weakref
comparison Python/codecs.c @ 25110:0401a0ead1eb legacy-trunk
Add a custom __str__ method to KeyError that applies repr() to the
missing key. (Also added a guard to SyntaxError__str__ to prevent
calling PyString_Check(NULL).)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 03 Sep 2002 20:24:09 +0000 |
| parents | 1b80e0fd5a48 |
| children | d32588c88633 |
comparison
equal
deleted
inserted
replaced
| 25109:00b6dd414b80 | 25110:0401a0ead1eb |
|---|
