File "D:\workspace\python\test\test\one.py", line 16 super().__init__() ^ IndentationError: expected an indented block
时间: 2023-08-07 07:02:14 浏览: 57
这个错误通常是由于缩进错误引起的。在 Python 中,缩进非常重要,因为它表示代码块的开始和结束。请确保在使用 `super().__init__()` 这个语句之前,正确缩进了代码块。例如,如果你的代码是一个类的构造函数,应该像这样缩进:
```python
class MyClass:
def __init__(self):
super().__init__()
# 其他代码...
```
请检查你的代码并确保正确缩进。如果问题仍然存在,请提供更多的代码片段以便我能够更好地帮助你。