ANN: python-markdown2 -- another Python implementation of Markdown
Jacob Rus
jacobolus at gmail.com
Mon Nov 5 05:13:40 EST 2007
cormullion at mac.com wrote:
> for ch in '\\`*_{}[]()>#+-.!')
Generator expressions were introduced in python 2.4 I believe. You'll
want to add `[` and `]` on the inside of those parentheses, to make this
a list comprehension instead, and things should then just work fine.
(so that means this bit will look like:
for ch in '\\`*_{}[]()>#+-.!'])
and there will additionally be another `[` after a `(` somewhere in the
previous few lines.)
-Jacob
More information about the Markdown-Discuss
mailing list