diff options
author | Damien George <damien.p.george@gmail.com> | 2018-02-15 11:31:34 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-02-15 11:31:34 +1100 |
commit | 9e8b7b1b635889e365efe3e240c5fe97c0f8de0a (patch) | |
tree | a9dc9c527949e008be858db0c04add48e8992738 | |
parent | 298b325f3e1385267b715af60ffcae7f71432196 (diff) |
docs/library/ujson: Update to conform with docs conventions.
The formatting of exception objects is done as per CPython conventions, eg:
:exc:`TypeError`
-rw-r--r-- | docs/library/ujson.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/ujson.rst b/docs/library/ujson.rst index 0932d0ab5..82b35ecde 100644 --- a/docs/library/ujson.rst +++ b/docs/library/ujson.rst @@ -14,9 +14,9 @@ Functions .. function:: dumps(obj) - Return ``obj`` represented as a JSON string. + Return *obj* represented as a JSON string. .. function:: loads(str) - Parse the JSON ``str`` and return an object. Raises ValueError if the + Parse the JSON *str* and return an object. Raises :exc:`ValueError` if the string is not correctly formed. |