Functional Attributes

functools.partial.keywords

Mutable dictionary of bound keyword arguments; a call may override those defaults.

Formal Syntax & Structure

python syntaxpython
partial_object.keywords

Return Value

dict

The dict result described above.

Working Example

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