summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-09-03 20:24:09 +0000
committerGuido van Rossum <guido@python.org>2002-09-03 20:24:09 +0000
commit602d45194c94a2e60becfb8aac768367412960c6 (patch)
tree68eb4eccb6f555a1cf7e387ff550547b0dc2516f /Python/pystate.c
parent99dba27e9a671693710128c0cfb5ed6686cda79b (diff)
downloadcpython-git-602d45194c94a2e60becfb8aac768367412960c6.tar.gz
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).)
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions