Meaning of second number in error traceback
Sometimes I get an error traceback stating开发者_运维技巧 that there is invalid syntax.
/views.py', 166, 23, '
166 is the line where the debugger finds the problem. But what is the second number, 23, supposed to tell me?
Just a guess, but I'd say it's the character position on the line where the syntax error was detected.
精彩评论