cbor: import CBORDecoder and CBOREncoder
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 28 Mar 2018 13:37:19 -0700
changeset 37214 3bc609bcfe77
parent 37213 893ff8c3bc57
child 37215 73a60281a861
cbor: import CBORDecoder and CBOREncoder And format the imports so it is cleaner. Differential Revision: https://phab.mercurial-scm.org/D2978
mercurial/thirdparty/cbor/__init__.py
--- 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,
+)