[Python-Dev] FuncAttrs or funcattrs or func_attrs (original) (raw)

Bob 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 funcattrs(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