First time here? Check out the FAQ!

Revision history  [back]

Toggle Block Comment flattens if statemets

Hi, RIght now, when you enforce formatting with PEP8, after saving such formatted block after commenting it, it changes this:

##if data:
##    print('aaa')
##else:
##    print("bbb")

To that:

# if data:
# print('aaa')
# else:
# print("bbb")

Is there a way to modify/fix it?