A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-April/044025.html below:

[Python-Dev] FuncAttrs or funcattrs or func_attrs

[Python-Dev] FuncAttrs or funcattrs or func_attrsBob Ippolito bob at redivi.com
Sun Apr 4 19:42:44 EDT 2004
On Apr 4, 2004, at 7:24 PM, Jewett, Jim J wrote:

>
>> I propose this one to set function attributes:
>
>>   class func_attrs(objects):
>
>
> Aren't classes supposed to use UpperCase?
> If this is a more subtle distinction, it should probably be
> added to PEP 8.
>
> FWIW, I think this should go in a decorate module (particularly
> since this use really is just decoration) rather than a builtin.

The fact that it's a class is really just an implementation deal.  It 
acts more like a "type", such as int, list, itertools.chain, property, 
etc.

-bob


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4