New submission from Robert Schuppenies <[EMAIL PROTECTED]>: Using sphinx I get the following error if I want to document methods via automethod:
reading sources... copyright glossary [..] refbrowser Exception occurred: File "[..]/doctools/sphinx/ext/autodoc.py", line 313, in resolve_name if not mod_cls: UnboundLocalError: local variable 'mod_cls' referenced before assignment. [..] I am not familiar with the code base, but from the comments the attached patch should address the issue. ---------- assignee: georg.brandl components: Documentation tools (Sphinx) files: mod_cls.patch keywords: patch messages: 70697 nosy: georg.brandl, schuppenies severity: normal status: open title: mod_cls type: behavior Added file: http://bugs.python.org/file11057/mod_cls.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3498> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com