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

[EMAIL PROTECTED] 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.

_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to