summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index cb07b58..9dcebb0 100644
--- a/README.rst
+++ b/README.rst
@@ -20,7 +20,7 @@ The Viewstate decoder accepts Base64 encoded .NET viewstate data and returns the
There are two main ways to use this package. First, it can be used as an imported library with the following typical use case:
-.. code-block:: pycon
+.. code-block:: python
>>> from viewstate import ViewState
>>> base64_encoded_viewstate = '/wEPBQVhYmNkZQ9nAgE='
@@ -30,7 +30,7 @@ There are two main ways to use this package. First, it can be used as an importe
It is also possible to feed the raw bytes directly:
-.. code-block:: pycon
+.. code-block:: python
>>> vs = ViewState(raw=b'\xff\x01....')
@@ -44,7 +44,7 @@ Which will pretty-print the decoded data structure.
Viewstate HMAC signatures are also supported. In case there are any remaining bytes after parsing, they are assumed to be HMAC signatures, with the types estimated according to signature length.
-.. code-block:: pycon
+.. code-block:: python
>>> vs = ViewState(signed_view_state)
>>> vs.decode()