Mercurial > hg-stable
diff i18n/posplit @ 36080:4fe2041007ed
py3: use bytes() to cast context instances
__str__ and __bytes__ are both implemented on context types. However,
__str__ behaves differently on Python 2 and 3.
Differential Revision: https://phab.mercurial-scm.org/D2143
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 13:09:16 -0800 |
parents | 90d84e1e427a |
children | d0e8933d6dad |