In <[EMAIL PROTECTED]>, Bjoern Schliessmann wrote:
> [ripped out of context :-)]
> Has this been updated recently? I could've sworn I had read that
> stuff like has_key was "old".
Yes, `has_key()` is "old", it's spelled ``in`` these days. :-)
if mapping.has_key(ham): pass
# ->
if ham in mappi
Bjoern Schliessmann wrote:
> Eduardo "EdCrypt" O. Padoan wrote:
>
>> No. Quoting PEP 8:
>> Functions:
>> """
>> mixedCase is allowed only in contexts where that's already the
>> prevailing style (e.g. threading.py), to retain backwards
>> compatibility.
>> """
>> Methods and instances:
Eduardo "EdCrypt" O. Padoan wrote:
> No. Quoting PEP 8:
> Functions:
> """
> mixedCase is allowed only in contexts where that's already the
> prevailing style (e.g. threading.py), to retain backwards
> compatibility.
> """
> Methods and instances:
> """
> Use the function naming rules:
On 5/31/07, Bjoern Schliessmann
<[EMAIL PROTECTED]> wrote:
> Alexander Eisenhuth wrote:
>
> > Pylint is one of them (http://www.logilab.org/857)
>
> BTW: Why does pylint want all names with underscores? I tested it
> and it complains about malformed names in e.g. the following cases
> that are conf
Alexander Eisenhuth wrote:
> Pylint is one of them (http://www.logilab.org/857)
BTW: Why does pylint want all names with underscores? I tested it
and it complains about malformed names in e.g. the following cases
that are conformant to PEP 8:
- single letter as parameter
- firstLowerCamelCase na