summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorryan-duve <ryan-duve@users.noreply.github.com>2023-12-19 10:29:55 (GMT)
committerGitHub <noreply@github.com>2023-12-19 10:29:55 (GMT)
commit76d757b38b414964546393bdccff31c1f8be3843 (patch)
tree35bee98464610964639fda284829cbc8a4473613
parentd71fcdee0f1e4daa35d47bbef103f30259037ddb (diff)
downloadcpython-76d757b38b414964546393bdccff31c1f8be3843.zip
cpython-76d757b38b414964546393bdccff31c1f8be3843.tar.gz
cpython-76d757b38b414964546393bdccff31c1f8be3843.tar.bz2
gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236)
-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 |
++------------------+--------------------------------------------------------------------------------------+