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.

classification
Title: apply() documentation is slightly incorrect
Type: Stage:
Components: Documentation Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: belopolsky, georg.brandl
Priority: normal Keywords:

Created on 2008-04-22 16:49 by belopolsky, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg65675 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2008-04-22 16:49
Current Doc/library/functions.rst says "The use of apply() is exactly
equivalent to function(*args, **keywords)." which is no longer correct
because f(*args, **keywords) notation allows use of an arbitrary mapping
as keywords in 2.6, but apply(f, args, keywords) does not.

I don't think changing the code to allow arbitrary mapping in apply is
worth the trouble and even mentioning this difference explicitly in the
apply() docs is probably not justified.

My recommendation is to just s/exactly equivalent/equivalent/ in the
sentence quote above.
msg65851 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-04-26 18:27
Fixed in r62511.
History
Date User Action Args
2022-04-11 14:56:33adminsetgithub: 46920
2008-04-26 18:27:53georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg65851
2008-04-22 16:49:03belopolskycreate