On 10/18/2014 04:38 AM, Jonatan Hjul wrote:
Maybe this would suffice?

for i, line in enumerate(open(file_name, 'r')):
     if 'TODO' in line:
          print(i, line)

That would work, but the documentation implies that this is already done:

file:///usr/lib/python2.7/site-packages/spyderlib/doc/overview.html

to-do lists (TODO, FIXME, XXX)

So if that is not the case then the docs should be changed to say:

to-do markers (TODO, FIXME, XXX)

Otherwise I am still searching for the built in way of doing it?

--
Adrian Klaver
[email protected]

--
You received this message because you are subscribed to the Google Groups 
"spyder" 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/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to