Exemple #1
0
 def __new__(cls, query, opts):
     opts = make_frozen(opts)
     return super(cls, cls).__new__(cls, query, opts)
Exemple #2
0
 def __new__(cls, resexp, clauses, params, options, *args, **kargs):
     options = make_frozen(options)
     return super(cls, cls).__new__(cls, resexp, clauses, params, options,
                                    *args, **kargs)
Exemple #3
0
 def __new__(cls, value, op, options, *args, **kargs):
     options = make_frozen(options)
     return super(cls, cls).__new__(cls, value, op, options, *args, **kargs)
Exemple #4
0
 def __new__(cls, query, opts):
     opts = make_frozen(opts)
     return super(cls, cls).__new__(cls, query, opts)
Exemple #5
0
 def __new__(cls, value, op, options, *args, **kargs):
     options = make_frozen(options)
     return super(cls, cls).__new__(cls, value, op, options,
                                    *args, **kargs)
Exemple #6
0
 def __new__(cls, resexp, clauses, params, options, *args, **kargs):
     options = make_frozen(options)
     return super(cls, cls).__new__(
                         cls, resexp, clauses, params, options,
                         *args, **kargs)
Exemple #7
0
def frozen_eval(tree):
    return make_frozen(literal_eval(tree))
Exemple #8
0
def frozen_eval(tree):
    return make_frozen(literal_eval(tree))