Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/d/i/digsby-HEAD/digsby/src/prefs/prefsgui.py   digsby(Download)
 
from __future__ import with_statement
from util import dictadd, boolify as bool_from_string, is_all
import wx.lib.mixins.listctrl
from wx.lib.mixins.listctrl import ListCtrlAutoWidthMixin
 
        elif isinstance(val, list):
            if is_all(val, (str, unicode))[0]:
                from gui.toolbox import edit_string_list
                ok, new_list = edit_string_list(self, val, 'Editing ' + key)
                if ok and new_list: val = new_list
                elif ok: val = defval
            elif is_all(val)[0]:
                elif ok: val = defval
            else:
                print is_all(val)
                raise AssertionError, key + \
                    ' is not a homogenous list :( tell Kevin to make this more gooder'

src/d/i/digsby-HEAD/digsby/src/prefs/prefsdata.py   digsby(Download)
from __future__ import with_statement
import os.path, sys
import util
from util import dictadd, is_all
from util.observe import observable_dict