From f37c502fd82e581a21e668c4d636b4c7d0df9fc9 Mon Sep 17 00:00:00 2001 From: Luke Schoen Date: Tue, 6 Feb 2018 16:00:51 +1100 Subject: [PATCH] Update getting-started.rst with Python 3 example --- docs/getting-started.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started.rst b/docs/getting-started.rst index 26f6b789..0122d08b 100644 --- a/docs/getting-started.rst +++ b/docs/getting-started.rst @@ -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 `__. Now let's try setting a different key and value: