HomePhabricator

shallowutil: slice off a byte instead of subscripting

Authored by durin42.

Description

shallowutil: slice off a byte instead of subscripting

This behaves identically on Python 2 and 3.

Differential Revision: https://phab.mercurial-scm.org/D5607