[issue3498] mod_cls

Robert Schuppenies report at bugs.python.org
Mon Aug 4 14:47:18 CEST 2008


New submission from Robert Schuppenies <okkotonushi at googlemail.com>:

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 <report at bugs.python.org>
<http://bugs.python.org/issue3498>
_______________________________________


More information about the Python-bugs-list mailing list