From 3e99ea9b89dc5433b5d189fac178dbd9c946ccb4 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Mon, 14 Aug 2023 13:29:10 -0400 Subject: [PATCH] doc typo: attributes(parent), not attribute(parent) --- docs/src/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/index.md b/docs/src/index.md index e506b1009..a64afd80c 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -394,7 +394,7 @@ read_attribute(parent, name) ``` You can also access the value of an attribute by indexing, like so: ```julia -julia> attr = attribute(parent)[name]; +julia> attr = attributes(parent)[name]; julia> attr[] ```