Ian Kelly <ian.g.ke...@gmail.com> writes: > On Wed, Jan 2, 2013 at 7:24 PM, someone <newsbo...@gmail.com> wrote: > > 1) class somethingWork: Invalid name "somethingWork" (should match > > [A-Z_][a-zA-Z0-9]+$), I'm not that good at regular exps, but I > > suppose it wants my class name to start with a capital letter ? > > Yes, PEP-8 recommends CamelCase for class names.
PEP 8 discourages camelCase for names except for compatibility purposes, and recommends TitleCase for class names. -- \ “I'm having amnesia and déjà vu at the same time. I feel like | `\ I've forgotten this before sometime.” —Steven Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list