Skip to content

Changes indentation of if {try-except} else to if {try-except-else} #47

Closed
@bluetech

Description

@bluetech

The following code:

if None:
    try:
        pass
    except:
        pass
else:
    pass

is indented to this:

if None:
    try:
        pass
    except:
        pass
    else:
        pass

This changes the semantics of already correctly-indented code.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions