[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ideas
Subject:    Re: [Python-ideas] Make all keywords legal as an identifier
From:       Nick Coghlan <ncoghlan () gmail ! com>
Date:       2011-04-29 6:55:31
Message-ID: BANLkTik91+Z3aOHTgz2-qF4-yFC3fPDq0Q () mail ! gmail ! com
[Download RAW message or body]

On Fri, Apr 29, 2011 at 8:33 AM, Westley Martínez <anikom15@gmail.com> wrote:
> I don't know about you guys but I've never needed a reserved word for a
> variable name, and if I did, I'd just append an _ to it.

"class" is the only one I have ever wanted to use, and "cls" is a
perfectly acceptable substitute in that case (other variants I have
seen are "klass" and "class_").

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
http://mail.python.org/mailman/listinfo/python-ideas

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic