( )⚙ D11623 dirstate-v2: Use "byte sequence" in docs

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-v2: Use "byte sequence" in docs
ClosedPublic

Authored by SimonSapin on Oct 11 2021, 4:31 PM.

Details

Summary

The patch originally sent as https://phab.mercurial-scm.org/D11546
used "byte string" but that was changed during review to avoid suggesting
Unicode or character encodings.

However "byte range" sounds to be like a range of *indices* within a byte
string/sequence elsewhere.

This changes to "byte sequence". Python docs use "sequence" a lot when
discussing the bytes type: https://docs.python.org/3/library/stdtypes.html

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage