Mercurial > hg > mercurial-source
changeset 38000:3bc609bcfe77
cbor: import CBORDecoder and CBOREncoder
And format the imports so it is cleaner.
Differential Revision: https://phab.mercurial-scm.org/D2978
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 28 Mar 2018 13:37:19 -0700 |
parents | 893ff8c3bc57 |
children | 73a60281a861 |
files | mercurial/thirdparty/cbor/__init__.py |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/thirdparty/cbor/__init__.py +++ b/mercurial/thirdparty/cbor/__init__.py @@ -1,1 +1,10 @@ -from .cbor2 import load, loads, dump, dumps, CBORDecodeError, CBOREncodeError +from .cbor2 import ( + CBORDecodeError, + CBORDecoder, + CBOREncodeError, + CBOREncoder, + dump, + dumps, + load, + loads, +)