Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_cls #47748

Closed
schuppenies mannequin opened this issue Aug 4, 2008 · 2 comments
Closed

mod_cls #47748

schuppenies mannequin opened this issue Aug 4, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@schuppenies
Copy link
Mannequin

schuppenies mannequin commented Aug 4, 2008

BPO 3498
Nosy @birkenfeld
Files
  • mod_cls.patch: Patch against r65486
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/birkenfeld'
    closed_at = <Date 2008-08-04.12:54:55.192>
    created_at = <Date 2008-08-04.12:47:17.368>
    labels = ['type-bug', 'docs']
    title = 'mod_cls'
    updated_at = <Date 2008-08-04.12:54:55.190>
    user = 'https://bugs.python.org/schuppenies'

    bugs.python.org fields:

    activity = <Date 2008-08-04.12:54:55.190>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2008-08-04.12:54:55.192>
    closer = 'georg.brandl'
    components = ['Documentation tools (Sphinx)']
    creation = <Date 2008-08-04.12:47:17.368>
    creator = 'schuppenies'
    dependencies = []
    files = ['11057']
    hgrepos = []
    issue_num = 3498
    keywords = ['patch']
    message_count = 2.0
    messages = ['70697', '70698']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'schuppenies']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3498'
    versions = []

    @schuppenies
    Copy link
    Mannequin Author

    schuppenies mannequin commented Aug 4, 2008

    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.

    @schuppenies schuppenies mannequin assigned birkenfeld Aug 4, 2008
    @schuppenies schuppenies mannequin added docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error labels Aug 4, 2008
    @birkenfeld
    Copy link
    Member

    Thanks, fixed in r65489.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant