Searched refs:exec_body (Results 1 – 4 of 4) sorted by relevance
69 def new_class(name, bases=(), kwds=None, exec_body=None): argument73 if exec_body is not None:74 exec_body(ns)
162 copy_tx = types.new_class(tx.__name__, bases, exec_body=set_body)
25 .. function:: new_class(name, bases=(), kwds=None, exec_body=None)33 The *exec_body* argument is a callback that is used to populate the
873 exec_body=func)