aboutsummaryrefslogtreecommitdiffstats
path: root/examples/mixin_test.py
blob: e7b44fd41c9a28cd72f633fea1ffc6701db0ef6b (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
26
27
28
# -*- coding: UTF-8 -*-


import sys

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


sobj = Simple(None)

sobj.a_set(1)
sobj.b_set(2)
a = sobj.a_get()
b = sobj.b_get()
s = sobj.ab_sum_get()
print a + b + 2 == s
"""
sobj.ab_sum_get()
sobj.ab_sum_get()
"""

print "suuuuper..."
super(Simple,sobj).ab_sum_get()

print "end"