cpython/Lib/test/shadowed_super.py

8 lines
97 B
Python

class super:
msg = "truly super"
class C:
def method(self):
return super().msg