Files
openide/python/testData/refactoring/extractsuperclass/noClassCastExceptionInCopiedFunctionWithClassInitAndMethodCall.after.py
andrey.matveevandintellij-monorepo-bot 0763dc23f0 PY-46099 Fix ClassCastException in FlaskSQLAlchemyTypeProvider
(cherry picked from commit f939dd3ae0b9811a7389c82408f8e973bf5ef2a3)

IJ-MR-5058

GitOrigin-RevId: 6b1b00fe2b7c31756a213d7729bd273095cfc9b6
2021-03-15 13:15:38 +00:00

15 lines
154 B
Python

class Foo:
def foo(self):
pass
class Bar:
@staticmethod
def baz():
foo = Foo()
foo.foo()
class Baz(Bar):
pass