示例#1
0
def chaperone_hash(args):
    unpacked = unpack_hash_args(args, "chaperone-hash")
    return imp.W_ImpHashTable(*unpacked)
示例#2
0
def impersonate_hash(args):
    unpacked = unpack_hash_args(args, "impersonate-hash")
    if unpacked[0].immutable():
        raise SchemeException(
            "impersonate-hash: cannot impersonate immutable hash")
    return imp.W_ImpHashTable(*unpacked)