1 | initial version |
Well, you figured it out. Here is a reference - the Python tutorial section on this.
An except clause may name multiple exceptions as a parenthesized tuple, for example:
I think your syntax may have wanted to assign the error message to the variable TypeError
... or something like that.