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:
parent
298b325f3e
commit
9e8b7b1b63
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue