well still, cant fault the code for following the style guide
:)...."class_" is still up on the python site's PEP.

Jonathan Ellis wrote:
> On 1/6/06, Michael Bayer <[EMAIL PROTECTED]> wrote:
>>
>> all of my python conventions came from the styleguide:
>>
>> http://www.python.org/peps/pep-0008.html
>>
>> so this would explain why Im using "class_":
>>
>>   If your public attribute name collides with a reserved keyword, append
>>    a single trailing underscore to your attribute name.  This is
>>    preferable to an abbreviation or corrupted spelling.  E.g. "class_"
>>    is preferable to "cls" or "klass".
>
> Incidently, the PEP has been updated following a python-dev thread in
> which Ian Bicking noted that "I personally prefer cls, there are some
> who use klass, and I haven't see class_ used."  The PEP now recommends
> the use of cls.
>
> -J
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Sqlalchemy-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to