Files
openide/python/testData/refactoring/extractmethod/MethodInIf.before.py
2012-05-22 22:23:35 +04:00

7 lines
146 B
Python

class C:
def foo(self, option, arg):
if option:
<selection>self.bar(arg)</selection>
def bar(self, arg):
pass