summaryrefslogtreecommitdiff
path: root/docs/jsonrpc-example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/jsonrpc-example.txt')
-rw-r--r--docs/jsonrpc-example.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/jsonrpc-example.txt b/docs/jsonrpc-example.txt
index 68db47b..b4c2e52 100644
--- a/docs/jsonrpc-example.txt
+++ b/docs/jsonrpc-example.txt
@@ -25,7 +25,7 @@ Code
The finished code for this is available in
`docs/json-example-code/jsonrpc.py
-<https://github.com/Pylons/webob/blob/master/docs/jsonrpc-example-code/jsonrpc.py>`_
+<https://github.com/Pylons/webob/blob/main/docs/jsonrpc-example-code/jsonrpc.py>`_
-- you can run that file as a script to try it out, or import it.
Concepts
@@ -537,9 +537,9 @@ Using Them Together
Good programmers start with tests. But at least we'll end with a
test. We'll use :py:mod:`doctest` for our
tests. The test is in `docs/json-example-code/test_jsonrpc.txt
-<https://github.com/Pylons/webob/blob/master/docs/jsonrpc-example-code/test_jsonrpc.txt>`_
+<https://github.com/Pylons/webob/blob/main/docs/jsonrpc-example-code/test_jsonrpc.txt>`_
and you can run it with `docs/json-example-code/test_jsonrpc.py
-<https://github.com/Pylons/webob/blob/master/docs/jsonrpc-example-code/test_jsonrpc.py>`_,
+<https://github.com/Pylons/webob/blob/main/docs/jsonrpc-example-code/test_jsonrpc.py>`_,
which looks like:
.. code-block:: python