]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-113234: tomllib docs: reorder conversion table & add remaining types (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 19 Dec 2023 10:36:01 +0000 (11:36 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Dec 2023 10:36:01 +0000 (10:36 +0000)
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>
Doc/library/tomllib.rst

index 918576eb37eaee7b70c16d489d1a5e4a69c151ca..f9e2dfeb13dc87533385b35eac7070052ecfc768 100644 (file)
@@ -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                                                                        |
++------------------+--------------------------------------------------------------------------------------+