Mercurial > eagle-eye
view pyikriam/lazy/www/core/utils.py @ 323:3c6e78faa0d4
we don't need embassy
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Sun, 08 Feb 2009 15:18:51 +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,)