summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-19 10:35:40 (GMT)
committerGitHub <noreply@github.com>2023-12-19 10:35:40 (GMT)
commit077cb7cae6538ba142fc655398da0261a0ee2448 (patch)
treea2455b2f91ddd27c50627ba38308ca0ec7ebdc14
parentca5a5231d3d36d5b46b6d3f0d3810b3191e85e9b (diff)
downloadcpython-077cb7cae6538ba142fc655398da0261a0ee2448.zip
cpython-077cb7cae6538ba142fc655398da0261a0ee2448.tar.gz
cpython-077cb7cae6538ba142fc655398da0261a0ee2448.tar.bz2
[3.12] gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236) (GH-113283)
gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236) (cherry picked from commit 76d757b38b414964546393bdccff31c1f8be3843) Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
-rw-r--r--Doc/library/tomllib.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/tomllib.rst b/Doc/library/tomllib.rst
index 918576e..f9e2dfe 100644
--- a/Doc/library/tomllib.rst
+++ b/Doc/library/tomllib.rst
@@ -95,7 +95,7 @@ Conversion Table
+------------------+--------------------------------------------------------------------------------------+
| TOML | Python |
+==================+======================================================================================+
-| table | dict |
+| TOML document | dict |
+------------------+--------------------------------------------------------------------------------------+
| string | str |
+------------------+--------------------------------------------------------------------------------------+
@@ -115,3 +115,9 @@ Conversion Table
+------------------+--------------------------------------------------------------------------------------+
| array | list |
+------------------+--------------------------------------------------------------------------------------+
+| table | dict |
++------------------+--------------------------------------------------------------------------------------+
+| inline table | dict |
++------------------+--------------------------------------------------------------------------------------+
+| array of tables | list of dicts |
++------------------+--------------------------------------------------------------------------------------+