Re: [PyCrust] Attribute list hook
Brought to you by:
pobrien
From: Neil H. <ne...@sc...> - 2001-08-12 00:37:42
|
Mark Hammond: > I like the idea, but would prefer to see one or 2 leading "_" on the name. > Considering a COM object, for example, the potential exists that > "getAttributeNames" could be a real method on the object. A leading _ also > helps reinforce this is not a method designed to be called by the "average" > user of the object. OK. I wasn't sure about the conventions behind "_" and "__" and which is correct here. I think of "_" as a simple "private" and "__" as "deep implementation mystery". Neil |