Actaully, even if its not at the end of the file do I get that:
def a():
x = 1
class A:
def __init__(self):
self.y =2
def askdhasd(self):
self.y=3
And insert the def a() func between the __init__ and other func produces:
class A:
def __init__(self):
self.y =2
def a():
x = 1
def askdhasd(self):
self.y=3
I could understand that SE can't know exactly what I need at that moment (nested func,etc..), but 90% of the time, I'm placing new funcs into a class.. I would guess that most others are too..
Also... Found another fun one:
class X:
x = { '1':1,
'2':2,
Now hit enter after the last line, and it'll un-indent. Same thing if you try to copy/paste the '2' line.. At first, I though it was something to do with classes (since it causes the issue above), but this occurs here too:
def x():
x = {'x':1,
'2':2,