summaryrefslogtreecommitdiff
path: root/pypers/oxford/super_ex.py
blob: 8a84feea34919ab91389be560e87323bfffd26e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# super_ex.py

from descriptor import AttributeDescriptor

class B(object):
   @staticmethod
   def sm(): return "staticmethod"

   @classmethod
   def cm(cls): return cls.__name__

   p = property()
   a = AttributeDescriptor()

class C(B): pass