I have a simple question,
Is IndentationError
a SyntaxError
in Python or not?
I think it is not but since I am a beginner I would like to be sure.
Are syntax errors only those which give me SyntaxError
as a response in an interpreter? For example, if I type
3f = 22
I get
SyntaxError: invalid syntax
So if there's something else (IndentationErro
r etc), may it be a sub-type of SyntaxError
or not?