aboutsummaryrefslogtreecommitdiffstats
path: root/examples/mixin_test.py
blob: 869dc4903e1165fa53d701190347750c6c3232e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- coding: UTF-8 -*-


import sys

from base.eodefault import *
from mixin.mixin_py import Simple


sobj = Simple(None)
print "ref: ", sobj.ref_get()

sobj.a_set(1)
sobj.b_set(2)
sobj.a_get()
sobj.b_get()
sobj.ab_sum_get()
sobj.ab_sum_get()
sobj.ab_sum_get()

super(Simple,sobj).ab_sum_get()

print "end"