Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

        def str_dict(dictionary):
    new_dict = {}
    for k, v in dictionary.items():
        if not isinstance(k, unicode):
            raise TypeError('Expected the key %r to be a Unicode string'*k)
        new_dict[str(k)] = v
    return new_dict
        


src/m/a/Mail-2.1.0/mail/service.py   Mail(Download)
log = logging.getLogger(__name__)
 
from bn import AttributeDict, str_dict
 
from conversionkit import set_error

src/e/r/ErrorReport-0.3.2/errorreport/__init__.py   ErrorReport(Download)
import datetime
 
from bn import AttributeDict, str_dict
from configconvert import stringToObject
from pipestack.pipe import Marble, MarblePipe