[Python-Dev] PEP 3102: Keyword-only arguments

Steven Bethard steven.bethard at gmail.com
Sun Apr 30 03:50:10 CEST 2006


On 4/29/06, Talin <talin at acm.org> wrote:
> PEP: 3102
> Title: Keyword-Only Arguments
> Version: $Revision$
> Last-Modified: $Date$
> Author: Talin <talin at acm.org>
> Status: Draft
> Type: Standards
> Content-Type: text/plain
> Created: 22-Apr-2006
> Python-Version: 3.0
> Post-History:
>>> Abstract
>> This PEP proposes a change to the way that function arguments are
> assigned to named parameter slots. In particular, it enables the
> declaration of "keyword-only" arguments: arguments that can only
> be supplied by keyword and which will never be automatically
> filled in by a positional argument.

+1. And I suggest this be re-targeted for Python 2.6. Now all we
need is someone to implement this. ;-)
By the way, I thought the "Function Calling Behavior" section was
particularly clear. Thanks for that!
STeVe
--
Grammar am for people who can't think for myself.
 --- Bucky Katt, Get Fuzzy


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /