docs/library/ujson: Update to conform with docs conventions.

The formatting of exception objects is done as per CPython conventions, eg:

    :exc:`TypeError`
This commit is contained in:
Damien George 2018-02-15 11:31:34 +11:00
parent 298b325f3e
commit 9e8b7b1b63
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ Functions
.. function:: dumps(obj) .. function:: dumps(obj)
Return ``obj`` represented as a JSON string. Return *obj* represented as a JSON string.
.. function:: loads(str) .. 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. string is not correctly formed.