diff --git a/README.md b/README.md index d7268b4..fbf919f 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,9 @@ A more complicated example: ``` python >>> umsgpack.packb( [1, True, False, 0xffffffff, {u"foo": b"\x80\x01\x02", u"bar": [1,2,3, {u"a": [1,2,3,{}]}]}, -1, 2.12345] ) -'\x97\x01\xc3\xc2\xce\xff\xff\xff\xff\x82\xa3foo\xc4\x03\x80\x01 -\x02\xa3bar\x94\x01\x02\x03\x81\xa1a\x94\x01\x02\x03\x80\xff\xcb -@\x00\xfc\xd3Z\x85\x87\x94' +'\x97\x01\xc3\xc2\xce\xff\xff\xff\xff\x82\xa3foo\xc4\x03\x80\x01' +'\x02\xa3bar\x94\x01\x02\x03\x81\xa1a\x94\x01\x02\x03\x80\xff\xcb' +'@\x00\xfc\xd3Z\x85\x87\x94' >>> umsgpack.unpackb(_) [1, True, False, 4294967295, {u'foo': '\x80\x01\x02', u'bar': [1, 2, 3, {u'a': [1, 2, 3, {}]}]}, -1, 2.12345] diff --git a/msgpack.org.md b/msgpack.org.md index 2f370d8..0c2a822 100644 --- a/msgpack.org.md +++ b/msgpack.org.md @@ -38,9 +38,9 @@ A more complicated example: >>> umsgpack.packb( [1, True, False, 0xffffffff, {u"foo": b"\x80\x01\x02", u"bar": [1,2,3, {u"a": [1,2,3,{}]}]}, -1, 2.12345] ) -'\x97\x01\xc3\xc2\xce\xff\xff\xff\xff\x82\xa3foo\xc4\x03\x80\x01 -\x02\xa3bar\x94\x01\x02\x03\x81\xa1a\x94\x01\x02\x03\x80\xff\xcb -@\x00\xfc\xd3Z\x85\x87\x94' +'\x97\x01\xc3\xc2\xce\xff\xff\xff\xff\x82\xa3foo\xc4\x03\x80\x01' +'\x02\xa3bar\x94\x01\x02\x03\x81\xa1a\x94\x01\x02\x03\x80\xff\xcb' +'@\x00\xfc\xd3Z\x85\x87\x94' >>> umsgpack.unpackb(_) [1, True, False, 4294967295, {u'foo': '\x80\x01\x02', u'bar': [1, 2, 3, {u'a': [1, 2, 3, {}]}]}, -1, 2.12345]