From c81480d9fe73f4293b5f97e0e42818bc8f4250c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20Y=C4=B1ld=C4=B1z?= <60326832+mfatihy70@users.noreply.github.com> Date: Tue, 7 May 2024 14:29:05 +0200 Subject: [PATCH 1/2] Fixed 2 minor typos corrected the commas on the code examples to colons --- docs/reference/api/widgets/table.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"}, ] ) From 93d30976bf106c7dfa4547fc448cd38d71f605b2 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 8 May 2024 06:19:32 +0800 Subject: [PATCH 2/2] Add changenote. --- changes/2560.misc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/2560.misc.rst diff --git a/changes/2560.misc.rst b/changes/2560.misc.rst new file mode 100644 index 0000000000..299403d662 --- /dev/null +++ b/changes/2560.misc.rst @@ -0,0 +1 @@ +A typo in a Table code example was corrected.