Skip to content Skip to sidebar Skip to footer

Where Is My Syntax Error?

I'm trying to see where a Python syntax error would be hiding. Both Django and pylint claim a syntax error at custom.py:41. Lines 41-42 read: (reading_threshold =

Solution 1:

You're looking right at the error. Python isn't C; assignment is a statement, rather than an expression, so you can't parenthesize it.


Post a Comment for "Where Is My Syntax Error?"