Mercurial > hg-stable
view mercurial/thirdparty/cbor/__init__.py @ 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 | 1236beb5d150 |
children |
line wrap: on
line source
from .cbor2 import ( CBORDecodeError, CBORDecoder, CBOREncodeError, CBOREncoder, dump, dumps, load, loads, )