/usr/lib/python2.7/dist-packages/cbor/__init__.py is in python-cbor 0.1.24-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!python
try:
# try C library _cbor.so
from ._cbor import loads, dumps, load, dump
except:
# fall back to 100% python implementation
from .cbor import loads, dumps, load, dump
from .cbor import Tag
from .tagmap import TagMapper, ClassTag, UnknownTagException
from .VERSION import __doc__ as __version__
__all__ = [
'loads', 'dumps', 'load', 'dump',
'Tag',
'TagMapper', 'ClassTag', 'UnknownTagException',
'__version__',
]
|