Home
last modified time | relevance | path

Searched refs:exec_body (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/
Dtypes.py69 def new_class(name, bases=(), kwds=None, exec_body=None): argument
73 if exec_body is not None:
74 exec_body(ns)
/external/tensorflow/tensorflow/python/util/
Dtf_should_use.py162 copy_tx = types.new_class(tx.__name__, bases, exec_body=set_body)
/external/python/cpython3/Doc/library/
Dtypes.rst25 .. function:: new_class(name, bases=(), kwds=None, exec_body=None)
33 The *exec_body* argument is a callback that is used to populate the
/external/python/cpython3/Lib/test/
Dtest_types.py873 exec_body=func)