One small fix.  The "next()" method in sphinx.jinja2glue.idgen is mistakenly 
translated to __next__ by 2to3.  This leads to an error when using autodoc 
(because jinja can't find the next method).

A simple fix is to add a parameter with default:

class idgen(object):
    def __init__(self):
        self.id = 0
    def current(self):
        return self.id
    def next(self, no2to3=True): # this line changed
        self.id += 1
        return self.id

With that; autodoc runs fine for me.

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" 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/sphinx-dev?hl=en.

Reply via email to