New submission from Alexander Belopolsky [EMAIL PROTECTED]:
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.
--
assignee: georg.brandl
components: Documentation
messages: 65675
nosy: belopolsky, georg.brandl
severity: normal
status: open
title: apply() documentation is slightly incorrect
versions: Python 2.6
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2668
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com