From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 19 Dec 2023 10:36:01 +0000 (+0100) Subject: [3.11] gh-113234: tomllib docs: reorder conversion table & add remaining types (GH... X-Git-Tag: v3.11.8~246 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=208c95bffe005475a13cf06c73f593e9a672ca46;p=thirdparty%2FPython%2Fcpython.git [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 --- diff --git a/Doc/library/tomllib.rst b/Doc/library/tomllib.rst index 918576eb37ea..f9e2dfeb13dc 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 | ++------------------+--------------------------------------------------------------------------------------+