Skip to content

Commit

Permalink
doc typo: attributes(parent), not attribute(parent) (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Aug 14, 2023
1 parent 8df976e commit f3c942c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
```

Expand Down

0 comments on commit f3c942c

Please sign in to comment.