[ERROR TEMPLATE] Python - IndentationError
nedpals opened this issue · 0 comments
nedpals commented
Name | Type | Code | Language |
---|---|---|---|
IndentationError | Compile-time Error | python.lang.IndentationError | Python |
Description
Raised when indentation is not correctly specified.
Sample Code
def my_function():
print("Hello, world!")
print("This line is indented with two spaces instead of four.")
Sample Error Message
File "indentation_error.py", line 3
print("This line is indented with two spaces instead of four.")
^
IndentationError: unindent does not match any outer indentation level
Implementation Checklist
- Implemented analysis
- Implemented explanation translation
- Implemented bug fix generation
- Add tests