From a6c74c5dee68f5f2c2b1a0a78e80ec30a7e1376b Mon Sep 17 00:00:00 2001 From: ryan-duve Date: Tue, 19 Dec 2023 05:29:55 -0500 Subject: [PATCH] gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236) (cherry picked from commit 76d757b38b414964546393bdccff31c1f8be3843) Co-authored-by: ryan-duve --- Doc/library/tomllib.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Doc/library/tomllib.rst b/Doc/library/tomllib.rst index 918576eb37eaee..f9e2dfeb13dc87 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 | ++------------------+--------------------------------------------------------------------------------------+