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 and mkitti committed Aug 20, 2023
1 parent 3feda44 commit 31bd658
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 @@ -360,7 +360,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 31bd658

Please sign in to comment.