On Thu, 21 Aug 2014 09:42:30 -0500
"Edward K. Ream" <[email protected]> wrote:

> On Tue, Aug 19, 2014 at 11:28 AM, Kent Tenney <[email protected]>
> wrote:
> > Yay, it works!
> 
> Pylint reports the following:
> 
> pylint: mod_scripting.py
> ************* Module leo.plugins.mod_scripting
> E:246,30: Instance of 'RClick' has no 'position' member (no-member)
> pylint: done

Apparently pylint only understands

RClick = namedtuple('RClick', 'position,children')
or
RClick = namedtuple('RClick', 'position children')

but not the equally valid

RClick = namedtuple('RClick', 'position, children')

but I've changed it now.

If I was pylint I'd do s.replace(',', ' ').split()

which covers everything, so I don't know how it managed to mess it up.

Cheers -Terry




> 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