On Mon, Nov 15, 2010 at 9:09 PM, Ben James wrote:
> On 15/11/2010 19:53, Boštjan Mejak wrote:
>>
>> Hello, I am wondering which of the 3 class names are prefered by PEP-8?
>>
>> class HTMLWindow(...)
>>
>> class HtmlWindow(...)
>>
>> class HTMLwindow(...)
>>
>>
>> Thank you for your answer in adva
On 15/11/2010 19:53, Boštjan Mejak wrote:
Hello, I am wondering which of the 3 class names are prefered by PEP-8?
class HTMLWindow(...)
class HtmlWindow(...)
class HTMLwindow(...)
Thank you for your answer in advance.
PEP 8 says:
Note: When using abbreviations in CapWords, capitalize
"""
CapitalizedWords (or CapWords, or CamelCase -- so named because
of the bumpy look of its letters[4]). This is also sometimes known as
StudlyCaps.
Note: When using abbreviations in CapWords, capitalize all the letters
of the abbreviation. Thus HTTPServerError is better
Hello, I am wondering which of the 3 class names are prefered by PEP-8?
class HTMLWindow(...)
class HtmlWindow(...)
class HTMLwindow(...)
Thank you for your answer in advance.
--
http://mail.python.org/mailman/listinfo/python-list