Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3747 enhancement closed fixed (fixed)

Documentation for Failure#trap is not properly formatted

Reported by: esteve Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author:

Description

The docstring for Failure#trap does not use the correct pydoctor syntax for formatting the example code block.

Attachments (1)

fix-failure-trap-doc.patch (2.8 KB) - added by esteve 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by esteve

Attachment: fix-failure-trap-doc.patch added

comment:1 Changed 10 years ago by esteve

Keywords: review added
Owner: Glyph deleted

comment:2 Changed 10 years ago by Glyph

Resolution: fixed
Status: newclosed

(In [26624]) Failure.trap's docstring is incorrectly formatted.

Author: esteve

Reviewer: glyph

This harkens back to the old days when leading pipes were required to fake quoted blocks (with happydoc, I think). Viewing with pydoctor confirms that this change fixes it. Thanks for the fix, esteve!

Fixes #3747

comment:3 Changed 10 years ago by Glyph

Keywords: review removed

Applied; I guess that counts as a review.

comment:4 Changed 8 years ago by <automation>

Note: See TracTickets for help on using tickets.