Home | History | Annotate | Download | only in python2.7

Lines Matching refs:Arguments

20     getargspec(), getargvalues(), getcallargs() - get info about function arguments
149 func_defaults tuple of any default values for arguments
213 co_argcount number of arguments (not including * or ** args)
224 co_varnames tuple of names of arguments and local variables"""
741 Arguments = namedtuple('Arguments', 'args varargs keywords')
744 """Get information about the arguments accepted by a code object.
748 'varargs' and 'varkw' are the names of the * and ** arguments or None."""
758 # The following acrobatics are for anonymous (tuple) arguments.
799 return Arguments(args, varargs, varkw)
804 """Get the names and default values of a function's arguments.
808 'varargs' and 'varkw' are the names of the * and ** arguments or None.
809 'defaults' is an n-tuple of the default values of the last n arguments.
822 """Get information about arguments
826 'varargs' and 'varkw' are the names of the * and ** arguments or None.
852 The first four arguments are (args, varargs, varkw, defaults). The
853 other four arguments are the corresponding optional formatting functions
855 argument is an optional function to format the sequence of arguments."""
878 The first four arguments are (args, varargs, varkw, locals). The
879 next four arguments are the corresponding optional formatting functions
881 argument is an optional function to format the sequence of arguments."""
895 """Get the mapping of arguments to values.
898 names of the * and ** arguments, if any), and values the respective bound
946 'arguments' if num_args > 1 else 'argument', num_total))
951 raise TypeError('%s() takes exactly 0 arguments '
954 raise TypeError('%s() takes no arguments (%d given)' %
980 'arguments' if num_required > 1 else 'argument', num_total))