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

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