Scientific Computing with Python 3 by Claus Fuhrer & Jan Erik Solem & Olivier Verdier

Scientific Computing with Python 3 by Claus Fuhrer & Jan Erik Solem & Olivier Verdier

Author:Claus Fuhrer & Jan Erik Solem & Olivier Verdier
Language: eng
Format: mobi
Publisher: Packt Publishing
Published: 2016-12-22T23:00:00+00:00


Figure 7.1: Starred arguments in function calls

You might also want to use the reverse process, where all given positional arguments are packed into a list and all keyword arguments are packed into a dictionary when passed to a function.

In the function definition, this is indicated by parameters prefixed by * and **, respectively. You will often find the *args and **kwargs parameters in code documentation, refer Figure 7.2.

Figure 7.2: Starred arguments in function definitions

Return values



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.