( )⚙ D1072 tersestatus: rework dirnode and tersedir docstrings

This is an archive of the discontinued Mercurial Phabricator instance.

tersestatus: rework dirnode and tersedir docstrings
ClosedPublic

Authored by dlax on Oct 14 2017, 7:34 AM.

Details

Summary

Follow-up on refactorings 3d6d4b12128e and 5d98674df18a of the original
changeset 7e3001b74ab3 by updating the docstrings of dirnode class and tersedir
function:

  • rewrite dirnode.iterfilepaths()'s docstring (the method got renamed and reimplemented in 5d98674df18a);
  • simplify and update dirnode.tersewalk() to remove reference to 'self' and 'tersedict';
  • use the imperative form of verbs in the first sentence of all docstrings.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

dlax created this revision.Oct 14 2017, 7:34 AM
dlax added a reviewer: pulkit.Oct 14 2017, 7:36 AM
durin42 accepted this revision.Oct 14 2017, 4:44 PM
This revision is now accepted and ready to land.Oct 14 2017, 4:44 PM
This revision was automatically updated to reflect the committed changes.