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[] ```