https://docs.python.org/3/faq/programming.html#what-is-the-difference-between-arguments-and-parameters
Parameters are defined by the names that appear in a function definition, whereas arguments are the values actually passed to a function when calling it. Parameters define what types of arguments a function can accept. For example, given the function definition:
foo, bar and kwargs are parameters of func
. However, when calling func
, for example:
the values 42
, 314
, and somevar
are arguments.
简而言之:arguments是实参,parameters是形参。阅读英文文档有点帮助。