This is an archive of the discontinued Mercurial Phabricator instance.

py3: use .startswith() instead of bytes[0]
ClosedPublic

Authored by pulkit on May 18 2018, 3:06 PM.

Details

Summary

bytes[0] returns the ascii value of character at 0 index.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.