summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorJulian Berman <Julian+git@GrayVines.com>2012-10-07 17:58:55 -0400
committerJulian Berman <Julian+git@GrayVines.com>2012-10-07 17:58:55 -0400
commit0ccbf6f70d978323ae0a57aa0f3c1d73b41cfa97 (patch)
tree7eed586b74ae5f15c02c9113820d7fae288957d6 /README.rst
parentc5a94e7528af88e7aad882323b9a481ea0343115 (diff)
downloadjsonschema-0ccbf6f70d978323ae0a57aa0f3c1d73b41cfa97.tar.gz
Fix syntax highlighting in readme.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 1937029..7dfbc6b 100644
--- a/README.rst
+++ b/README.rst
@@ -6,7 +6,7 @@ jsonschema
<http://tools.ietf.org/html/draft-zyp-json-schema-03>`_) for Python (supporting
2.6+ including Python 3).
-::
+.. code:: python
>>> from jsonschema import validate
@@ -39,7 +39,7 @@ Features
* Lazy validation that can iteratively report *all* validation errors.
-::
+.. code:: python
>>> from jsonschema import Draft3Validator
>>> schema = {
@@ -57,7 +57,7 @@ Features
* Programmatic querying of which properties or items failed validation.
-::
+.. code:: python
>>> from jsonschema import ErrorTree, Draft3Validator
>>> schema = {