Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def uni_softbank2docomo(s):
    return uni_emoji_softbank_to_docomo.has_key(s) and uni_emoji_softbank_to_docomo[s] or u''
        


src/d/j/django-bpmobile-0.1/bpmobile/middleware.py   django-bpmobile(Download)
        def _convert_dict(d, agent):
            for k, v in d.iteritems():
                if agent.is_softbank():
                    d[k] = utils.RE_UNI_EMOJI_SOFTBANK.sub(lambda m:utils.uni_softbank2docomo(m.group()), v)
                elif agent.is_ezweb():