Mercurial > eagle-eye
view pyikriam/lazy/www/core/utils.py @ 306:2f36120aba83
merged
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Wed, 10 Dec 2008 00:42:31 +0800 |
parents | a4c364888197 |
children |
line wrap: on
line source
def mix_in(py_class, mixin_class): if mixin_class not in py_class.__bases__: py_class.__bases__ += (mixin_class,)