Update getting-started.rst with Python 3 example

This commit is contained in:
Luke Schoen
2018-02-06 16:00:51 +11:00
committed by GitHub
parent 381fe19335
commit f37c502fd8

View File

@ -147,7 +147,7 @@ The result should look like:
Note the ``value`` in the result (``61626364``); this is the
hex-encoding of the ASCII of ``abcd``. You can verify this in
a python shell by running ``"61626364".decode('hex')``. Stay
a python 2 shell by running ``"61626364".decode('hex')`` or in python 3 shell by running ``import codecs; codecs.decode("61626364", 'hex').decode('ascii')``. Stay
tuned for a future release that `makes this output more human-readable <https://github.com/tendermint/abci/issues/32>`__.
Now let's try setting a different key and value: