Menu

#69 Raises docs should link to the exception type

open
nobody
None
5
2007-10-18
2007-10-18
Anonymous
No

If I add the reStructuredText format doc string:

:Raises FooError:
when stuff breaks

A link to FooError should be provided in the resulting html documentation.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Sorry, I should have specified that this doesn't work for *builtin* exceptions such as ValueError. It already works fine for user-defined exceptions.

     
  • Nobody/Anonymous

    Logged In: NO

    Sorry, that would only work if you were also documenting the built-ins. Never mind. Please resolve this ticket.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.