util

来源:互联网 发布:淘宝美妆正品店铺推荐 编辑:程序博客网 时间:2024/06/11 23:48


classObjectDict(dict):


classGzipDecompressor(object):


def import_object(name):
    """Imports an object by name.
import_object('x') is equivalent to 'import x'.
import_object('x.y.z') is equivalent to 'from x.y import z'.
class ArgReplacer(object):
    """Replaces one value in an ``args, kwargs`` pair.
Inspects the function signature to find an argument by name
whether it is passed by position or keyword. For use in decorators
and similar wrappers.
"""
    def __init__(self, func, name):
class Configurable(object):


原创粉丝点击