diff --git a/docs/reference/api/widgets/table.rst b/docs/reference/api/widgets/table.rst index 5257fc0e9c..66f6c8dfbd 100644 --- a/docs/reference/api/widgets/table.rst +++ b/docs/reference/api/widgets/table.rst @@ -82,7 +82,7 @@ to control the display order of columns independent of the storage of that data. headings=["Name", "Age"], data=[ {"name": "Arthur Dent", "age": 42, "planet": "Earth"}, - {"name", "Ford Prefect", "age": 37, "planet": "Betelgeuse Five"}, + {"name": "Ford Prefect", "age": 37, "planet": "Betelgeuse Five"}, {"name": "Tricia McMillan", "age": 38, "planet": "Earth"}, ] ) @@ -106,7 +106,7 @@ header, but internally, the attribute "character" will be used: accessors={"Name", 'character'}, data=[ {"character": "Arthur Dent", "age": 42, "planet": "Earth"}, - {"character", "Ford Prefect", "age": 37, "planet": "Betelgeuse Five"}, + {"character": "Ford Prefect", "age": 37, "planet": "Betelgeuse Five"}, {"name": "Tricia McMillan", "age": 38, "planet": "Earth"}, ] )