Skip to content

Commit 21e8393

Browse files
authored
Clarify JSON mappings in documentation
1 parent 39a81f9 commit 21e8393

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
#
6161
# This is also used if you do content translation via gettext catalogs.
6262
# Usually you set "language" from the command line for these cases.
63-
language = None
63+
language = 'en'
6464

6565
# List of patterns, relative to source directory, that match files and
6666
# directories to ignore when looking for source files.

docs/datatypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ In order to insert rows into such a table your application must create a Python
2525
dict that corresponds to that schema, for example::
2626

2727
{'id': 1, 'name': 'myname', 'created': datetime.now(),
28-
'address' : {'street' : '14 Elm Street', 'city' : "hometown',
28+
'address' : {'street' : '14 Elm Street', 'city' : 'hometown',
2929
'zip' : 00000}}
3030

3131
Similarly, when operating on rows retrieved from the database it is important to
@@ -59,7 +59,7 @@ FixedBinary bytearray
5959
Array list
6060
Map dict
6161
Record dict
62-
JSON any valid JSON
62+
JSON any Python datatype that can be represented as JSON without data loss
6363
============= ==============================
6464

6565
===================

0 commit comments

Comments
 (0)