GcsSloop / GcsSloop/PythonNote

IndentationError: expected an indented block

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
2
PR merge metrics
No merged PRs in 30d

Description

在从一个编辑器换到另一个编辑器后再次编辑运行时遇到的问题。
产生原因:未对齐。
真正原因:编辑器设置不同,在其中一个编辑器中默认会把tab换成四个空格,导致空格与tab混用。
解决方案:将tab全部替换为4个空格或将四个空格全部替换为tab
PS:在编辑器中显示全部空白字符就能非常方便的查看是tab还是空格

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.