Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Kirill Smelkov
cpython
Repository
cpython
Python
exceptions.c
Find file
Blame
History
Permalink
Add a custom __str__ method to KeyError that applies repr() to the
· 602d4519
Guido van Rossum
authored
Sep 03, 2002
missing key. (Also added a guard to SyntaxError__str__ to prevent calling PyString_Check(NULL).)
602d4519