#!/usr/bin/env python # encoding: utf-8 """ interface_test.py Created by on 2006-11-11. Copyright (c) 2006 MP3tunes, LLC. All rights reserved. """ from interface import interface class foo(interface): @interface.public def test(self): print 'omg' def test2(self): print 'wtf' obj = foo() obj.test() obj.test2()