Skip to content

Commit 9e8b7b1

Browse files
committed
docs/library/ujson: Update to conform with docs conventions.
The formatting of exception objects is done as per CPython conventions, eg: :exc:`TypeError`
1 parent 298b325 commit 9e8b7b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/library/ujson.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Functions
1414

1515
.. function:: dumps(obj)
1616

17-
Return ``obj`` represented as a JSON string.
17+
Return *obj* represented as a JSON string.
1818

1919
.. function:: loads(str)
2020

21-
Parse the JSON ``str`` and return an object. Raises ValueError if the
21+
Parse the JSON *str* and return an object. Raises :exc:`ValueError` if the
2222
string is not correctly formed.

0 commit comments

Comments
 (0)