On Sunday, July 13, 2014 5:55:12 AM UTC-5, Edward K. Ream wrote:
>
> Yesterday I started work on leoPersistence.py.
>

P.S.  The PersistenceDataController class uses an unusual coding style.  
The abbreviation for this class is pd.  Rather than using "self" as the 
first argument of each member, the first argument of all pd members is, you 
guessed it, "pd".  This saves the usual assignment: pd = self in each 
member.  

A single comment at the start of the class disables all pylint warnings 
about "self" not being the first argument of a member: # pylint: 
disable=no-self-argument

I rather like this new coding style.  YMMV, but don't bother trying to talk 
me out of it :-)

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to