Mercurial > public > mercurial-scm > hg-stable
diff mercurial/utils/cborutil.py @ 49023:176f1a0d15dc
py3: use int instead of pycompat.long
pycompat.long is aliased to int. So this should have no change in
functionality.
Differential Revision: https://phab.mercurial-scm.org/D12338
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 01 Mar 2022 20:50:34 -0800 |
parents | f254fc73d956 |
children | bce8f66d3045 |
line wrap: on
line diff
--- a/mercurial/utils/cborutil.py Mon Feb 21 11:13:37 2022 -0700 +++ b/mercurial/utils/cborutil.py Tue Mar 01 20:50:34 2022 -0800 @@ -9,7 +9,6 @@ import struct import sys -from .. import pycompat # Very short very of RFC 7049... # @@ -207,7 +206,7 @@ STREAM_ENCODERS = { bytes: streamencodebytestring, int: streamencodeint, - pycompat.long: streamencodeint, + int: streamencodeint, list: streamencodearray, tuple: streamencodearray, dict: streamencodemap,