Compare source code

Grant Edwards invalid at invalid.invalid
Sun Nov 7 08:24:21 EST 2010


On 2010-11-07, Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> wrote:
> In message <87sjzige0r.fsf at benfinney.id.au>, Ben Finney wrote:
>
>> Seebs <usenet-nospam at seebs.net> writes:
>> 
>>> On 2010-11-03, Steven D'Aprano <steve-REMOVE-THIS at cybersource.com.au>
>>> wrote:
>>>
>>>> Python does explicitly mark blocks. It does it by changes in
>>>> indentation. An indent is an explicit start-block. An outdent is an
>>>> explicit end- block. There is nothing implicit in a change in indent
>>>> level.
>>>
>>> What's the token that marks the end of a block, corresponding to the
>>> colon used to introduce it?
>> 
>> You have introduced this requirement for tokens; it's fallacious. The
>> direct answer is: tokens aren't part of the requirement to be explicit.
>> 
>> The more general answer is: the block is explicitly ended where the
>> indentation ends.
>
> That's implicit, not explicit.

If you can _see_ it, how is it implicit?

-- 
Grant





More information about the Python-list mailing list