summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-19 10:36:01 (GMT)
committerGitHub <noreply@github.com>2023-12-19 10:36:01 (GMT)
commit208c95bffe005475a13cf06c73f593e9a672ca46 (patch)
tree15780c02b99b155ccb89684e2ed2c7085753050c
parentd6830c7cbf03bba9616adf1173d7f4dc65dbb1ac (diff)
downloadcpython-208c95bffe005475a13cf06c73f593e9a672ca46.zip
cpython-208c95bffe005475a13cf06c73f593e9a672ca46.tar.gz
cpython-208c95bffe005475a13cf06c73f593e9a672ca46.tar.bz2
[3.11] gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236) (GH-113284)
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 |
++------------------+--------------------------------------------------------------------------------------+