gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236)

This commit is contained in:
ryan-duve 2023-12-19 05:29:55 -05:00 committed by GitHub
parent d71fcdee0f
commit 76d757b38b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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 |
+------------------+--------------------------------------------------------------------------------------+