Home
last modified time | relevance | path

Searched refs:argdefs (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Objects/
Dfuncobject.c488 PyObject *argdefs; in function_call() local
493 argdefs = PyFunction_GET_DEFAULTS(func); in function_call()
494 if (argdefs != NULL && PyTuple_Check(argdefs)) { in function_call()
495 d = &PyTuple_GET_ITEM((PyTupleObject *)argdefs, 0); in function_call()
496 nd = PyTuple_GET_SIZE(argdefs); in function_call()
/external/python/cpython2/Doc/library/
Dnew.rst39 .. function:: function(code, globals[, name[, argdefs[, closure]]])
44 *argdefs* is given, it must be a tuple and will be used to determine the default
/external/python/cpython2/Python/
Dceval.c4405 PyObject *argdefs = PyFunction_GET_DEFAULTS(func); in fast_function() local
4411 if (argdefs == NULL && co->co_argcount == n && nk==0 && in fast_function()
4443 if (argdefs != NULL) { in fast_function()
4444 d = &PyTuple_GET_ITEM(argdefs, 0); in fast_function()
4445 nd = Py_SIZE(argdefs); in fast_function()