changeset 37216: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	Sat Mar 31 10:28:18 2018 +0900
+++ b/mercurial/thirdparty/cbor/__init__.py	Wed Mar 28 13:37:19 2018 -0700
@@ -1,1 +1,10 @@
-from .cbor2 import load, loads, dump, dumps, CBORDecodeError, CBOREncodeError
+from .cbor2 import (
+    CBORDecodeError,
+    CBORDecoder,
+    CBOREncodeError,
+    CBOREncoder,
+    dump,
+    dumps,
+    load,
+    loads,
+)