callable values
Thomas Jollans
tjol at tjol.eu
Fri Oct 6 16:55:53 EDT 2017
On 06/10/17 18:25, Stefan Ram wrote:
> Terry Reedy <tjreedy at udel.edu> writes:
>> On 10/6/2017 8:44 AM, ROGER GRAYDON CHRISTMAN wrote:
>>> Despite the documentation, I would still be tempted to say that range is a
>>> function.
>> It is, *according* to the documentation. Built-in classes are included
>> in Library Reference, Ch. 2, Built-in Functions. Changing that to
>> "Built-in Functions and Classes" has been proposed (perhaps by me) and
>> rejected.
> FWIW, in my course notes, I have coined a special word for
> this:
>
> A /prelate/ (German: "Prälat") is a callable value (object).
Are you just going to let that hanging without justifying your choice of
word?
>
> For, example, I say:
>
> |When certain prelates are called, one has to write an
> |expression into the parentheses, which is called "argument
> |expression. In the case of the call »neg( 9 )«, »9« is the
> |argument expression.
>
> (In the original German text this is:
>
> |Beim Aufruf mancher Prälaten kann oder muß in den für den
> |Aufruf verwendeten Klammern ein Ausdruck geschrieben werden,
> |der Argumentausdruck genannt wird. Im Aufruf »neg( 9 )« ist
> |»9« der Argumentausdruck.
>
> .)
>
More information about the Python-list
mailing list