Bad variable name for traceback object #5323
Closed
100backslash001
started this conversation in
Ideas
Replies: 1 comment
-
No, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems that the name
tb
for the variable is not a very good nameI know it might be obvious to some that
sys.exc_info()
returns a traceback object as the third element, but maybe should change the name to something more obvious? For exampletraceback_object
? This way, the reader of the code will understand more clearly what thetb
variable is and will not have to waste time trying to understand what is stored in it.Beta Was this translation helpful? Give feedback.
All reactions