Search This Blog

Tuesday, May 28, 2019

Python - Type inconsistent dedent at line XX, column X



First 2 lines are used tab and teh 3rd line used space button to align which causes the dedent problem.

So select that 3rd line, Shift + tab in eclipse or hit backspace to move to first column, then press tab. this will align to the same with tab rather than space bar align.

fixed
enjoy.

No comments:

Hit Counter


View My Stats