Issue 1261659: Tutorial doesn't cover * and ** function calls (original) (raw)

Issue1261659

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/42284

classification

Title: Tutorial doesn't cover * and ** function calls
Type: Stage:
Components: Documentation Versions:

process

Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: brett.cannon, georg.brandl, pterk, rhettinger
Priority: high Keywords:

Created on 2005-08-17 05:10 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg26067 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-08-17 05:10
While the tutorial, in the section discussing function definitions, covers * and ** arguments, there is no aparent coverage of using them in a function call (e.g., ``open(*["file", "r"])``).
msg26068 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-08-26 08:51
Logged In: YES user_id=80475 That should be fixed. Do you have a patch?
msg26069 - (view) Author: Peter van Kampen (pterk) Date: 2005-10-17 11:07
Logged In: YES user_id=174455 I believe f(*seq) is covered in section 4.7.4 of the tutorial? (http://docs.python.org/tut/node6.html#SECTION006740000000000000000) I've commited a patch to also include an example for f(**dict). See: http://sourceforge.net/tracker/index.php?func=detail&aid=1328566&group_id=5470&atid=305470
msg26070 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-11-22 19:51
Logged In: YES user_id=1188172 Committed patch by pterk.
History
Date User Action Args
2022-04-11 14:56:12 admin set github: 42284
2005-08-17 05:10:58 brett.cannon create