I just downloaded asciidoc-8.6.8.zip, got article.txt from http://asciidoc.org/,
and from that page I tried the first example:-

>asciidoc.py -b htm l5 -a icons -a toc2 -a theme=flask article.txt

I got:-
  File "...\asciidoc.py",
  line 101 except KeyError, k: raise AttributeError, k
                  ^
  SyntaxError: invalid syntax

Here are the lines 99 100 101 of asciidoc.py:-
   99    def __delattr__(self, key):
  100        try: del self[key]
  101        except KeyError, k: raise AttributeError, k


Is this likely to be a Python 3 vs 2 problem? In which case, is there
a simple workaround?

I'm a Python newbie, running Python version 3.3.0, on WinXP
Professional..

Thanks v. much

RH

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to