Home
last modified time | relevance | path

Searched refs:__defaults__ (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_funcattrs.py183 self.assertEqual(self.b.__defaults__, None)
184 del self.b.__defaults__
185 self.assertEqual(self.b.__defaults__, None)
192 self.assertEqual(first_func.__defaults__, None)
193 self.assertEqual(second_func.__defaults__, (1, 2))
194 first_func.__defaults__ = (1, 2)
195 self.assertEqual(first_func.__defaults__, (1, 2))
199 del second_func.__defaults__
200 self.assertEqual(second_func.__defaults__, None)
Dtest_code.py169 defaults = f.__defaults__
Dtest_inspect.py2231 self.__defaults__ = func.__defaults__
2250 del fl.__defaults__
2285 __defaults__ = func.__defaults__ variable in TestSignatureObject.test_signature_functionlike_class.funclike
Dtest_collections.py281 self.assertIsNone(Point.__new__.__defaults__, None)
288 self.assertEqual(Point.__new__.__defaults__, (10, 20))
295 self.assertEqual(Point.__new__.__defaults__, (10, 20))
Dtest_urllib.py778 self.assertEqual(urllib.parse.quote.__defaults__[0], '/')
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Darg_scope.py101 kwargs_length = len(func.__defaults__) if func.__defaults__ else 0
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py329 converted_f.__defaults__)
472 entity.__defaults__)
473 compiled.__defaults__ = entity.__defaults__
/external/autotest/client/cros/image_comparison/
Dcomparison_result.py13 ComparisonResult.__new__.__defaults__ = (0, '', None)
/external/tensorflow/tensorflow/python/tools/api/generator/
Ddoc_srcs.py34 DocSource.__new__.__defaults__ = (None,) * len(DocSource._fields)
/external/autotest/client/common_lib/cros/network/
Dinterface.py52 DeviceInfo.__new__.__defaults__ = (None, None, None)
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py234 defaults = func.__defaults__
/external/python/cpython3/Lib/
Dtyping.py911 defaults = func.__defaults__ or ()
1366 nm_tpl.__new__.__defaults__ = tuple(defaults)
Dinspect.py2139 defaults = func.__defaults__
Dturtle.py3898 defaults = ob.__defaults__ or []
/external/python/funcsigs/funcsigs/
D__init__.py529 defaults = func.__defaults__
/external/tensorflow/tensorflow/python/ops/distributions/
Ddistribution.py106 name=fn.__name__, argdefs=fn.__defaults__,
/external/pdfium/third_party/pymock/
Dmock.py225 funcopy.__defaults__ = func.__defaults__
/external/python/cpython2/Lib/test/
D_mock_backport.py131 funcopy.__defaults__ = func.__defaults__
/external/python/mock/mock/
Dmock.py228 funcopy.__defaults__ = func.__defaults__
/external/python/cpython3/Lib/collections/
D__init__.py401 __new__.__defaults__ = defaults
/external/python/six/documentation/
Dindex.rst152 ``func.__defaults__`` on Python 2.6+ and ``func.func_defaults`` on Python
/external/python/cpython2/Doc/reference/
Ddatamodel.rst489 single: __defaults__ (function attribute)
517 | :attr:`__defaults__` | A tuple containing default | Writable |
549 ``__defaults__``, and ``__globals__`` were introduced as aliases for
/external/python/cpython3/Doc/whatsnew/
D3.0.rst788 :attr:`__code__`, :attr:`__defaults__`, :attr:`~object.__dict__`,
/external/python/cpython3/Doc/library/
Dinspect.rst84 | | __defaults__ | tuple of any default |
/external/python/cpython3/Doc/reference/
Ddatamodel.rst464 single: __defaults__ (function attribute)
492 | :attr:`__defaults__` | A tuple containing default | Writable |