Functional Attributes

functools.partial.args

Stored leading positional arguments as a tuple.

Formal Syntax & Structure

python syntaxpython
partial_object.args

Return Value

tuple

The tuple result described above.

Working Example

Example Snippetpython
import functoolsf=functools.partial(pow,5,exp=2)print(f.args)
Python Reference