Are Python's reserved words reserved in places they dont need?tobe?

Roberto Bonvallet Roberto.Bonvallet at cern.ch
Thu Sep 14 07:57:12 EDT 2006


"Delaney, Timothy (Tim)" wrote:
> Antoon Pardon wrote:
> 
>> This is just an idea of mine, nothing I expect python to adapt.
>> But just suppose the language allowed for words in bold. A word
>> in bold would be considered a reserved word, a word in non bold
>> would be an identifier.
> 
> Exactly how am I supposed to use my text editor to make words bold? Is
> every text editor supposed to understand a "python format" for code?

That's easy:  <b>pass</b>, <b>return</b>, ...
Hmm, that's too verbose, maybe it would be better to do it just by
appending a underscore to the word:  pass_, return_, ...

wink_
-- 
Roberto Bonvallet



More information about the Python-list mailing list