]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236)
authorryan-duve <ryan-duve@users.noreply.github.com>
Tue, 19 Dec 2023 10:29:55 +0000 (05:29 -0500)
committerGitHub <noreply@github.com>
Tue, 19 Dec 2023 10:29:55 +0000 (11:29 +0100)
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                                                                        |
++------------------+--------------------------------------------------------------------------------------+