ANN: python-markdown2 -- another Python implementation of Markdown

cormullion at cormullion at
Mon Nov 5 08:56:12 EST 2007

On 5 Nov 2007, at 10:13, Jacob Rus wrote:

> cormullion at 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.)

Thanks! Although there were other problems as well, after this one
went away. Not being a Python-eer, I'll leave it for now.

More information about the Markdown-Discuss mailing list