[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-dev
Subject:    Re: [Zope-dev] zope.sendmail grantma-retryfixes branch review
From:       Chris Withers <chris () simplistix ! co ! uk>
Date:       2008-03-20 22:33:10
Message-ID: 47E2E626.4040909 () simplistix ! co ! uk
[Download RAW message or body]

Marius Gedminas wrote:
>> +        """Process results of an SMTP error
>> +           returns True to indicate break needed"""
> 
> The standard docstring convention is to do this:
> 
>            """Process results of an SMTP error.
> 
>            Returns True to indicate break needed.
>            """

This standard sucks.

             """
             Process results of an SMTP error.

             Returns True to indicate break needed.
             """

...is much more readable. If there's a tool that does something silly 
with this, fix the tool.

> Also, it's conventional to leave two blank lines between class and
> interface declarations.  (PEP-8 says this.)

What does this actually mean? I couldn't follow from your example.

Other than that, completely agree with everything you said :-)

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic