Opened 6 years ago

Closed 5 years ago

#6046 task closed fixed (fixed)

Missing documentation for FilePath

Reported by: Thijs Triemstra Owned by: Thijs Triemstra
Priority: normal Milestone:
Component: core Keywords: documentation
Cc: Thijs Triemstra Branch: branches/filepath-docs-6046
branch-diff, diff-cov, branch-cov, buildbot
Author: exarkun


The documentation for FilePath has some "No summary" and "Undocumented" methods listed, the attached patch fills in those blanks.

Attachments (1)

filepath-doc-6046.patch (21.4 KB) - added by Thijs Triemstra 6 years ago.

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by Thijs Triemstra

Attachment: filepath-doc-6046.patch added

comment:1 Changed 5 years ago by Tom Prince

Keywords: review removed
Owner: set to Thijs Triemstra
  • {{{_PathHelper}} doesn't actually exist (it is referenced in one the doc strings
  • There are quite a few places that change L{} to C{} for no apparent reason. Or introduce C{} where L{} would work.
  • twistedchecker reports a number of docstring errors after this patch (although less than before).

Feel free to commit after fixing.


  • There are a number of places (basename and splitext for example, where the description of the function and the return value are essentially the same. It would be nice to simplify one of them (probably the return value).

comment:2 Changed 5 years ago by Jean-Paul Calderone

Author: exarkun
Branch: branches/filepath-docs-6046

(In [36624]) Branching to 'filepath-docs-6046'

comment:3 Changed 5 years ago by Jean-Paul Calderone

(In [36625]) Apply filepath-doc-6046.patch

refs #6046

comment:4 Changed 5 years ago by Jean-Paul Calderone

(In [36626]) adjust a bunch of C{} to L{}; fix some other minor issues

refs #6046

comment:5 Changed 5 years ago by Jean-Paul Calderone

(In [36628]) some more doc fixes, mostly pointed out by twistedchecker

refs #6046

comment:6 Changed 5 years ago by Jean-Paul Calderone

comment:7 Changed 5 years ago by Jean-Paul Calderone

Resolution: fixed
Status: newclosed

(In [36631]) Merge filepath-docs-6046

Author: thijs, exarkun Reviewer: tom.prince Fixes: #6046

Various improvements to the API documentation content and markup of twisted.python.filepath.

Note: See TracTickets for help on using tickets.