Éric Araujo added the comment:
You are supposed to use “...” on continuation lines, not “>>>”:
http://docs.python.org/glossary#term-1
http://docs.python.org/dev/library/doctest#how-are-docstring-examples-recognized
Please reopen it the problem persists after this change. Thank you!
--
New submission from Tiago Antao :
2to3 crashes with a apparently simple for.
An example is presented (the first line is actually enough)
>>> for clade in tree.find_clades(branch_length=True, order='level'):
>>> if (clade.branch_length < .5 and
>>> not clade.is