Skip to content

Commit

Permalink
Merge pull request #34 from pitmonticone/master
Browse files Browse the repository at this point in the history
Fix typos in docstrings of def_tools.jl
  • Loading branch information
oxinabox authored Dec 5, 2022
2 parents 7917a08 + 080ae8a commit 3a1abab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/def_tools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ For `arg_exprs` being a list of positional argument expressions from a signature
such as `[:(x::Int), :(y::Float64), :(z::Vararg)]`, or being a whole `signature_def` `Dict`
containing a `signature_def[:args]` value of that form.
This returns a tuple expresion containing all of the args by name. It correctly handles
This returns a tuple expression containing all of the args by name. It correctly handles
splatting for things that are `Vararg` typed, e.g for the prior example `:((x, y, z...))`
This is useful for modifiying the `signature_def[:body]`.
This is useful for modifying the `signature_def[:body]`.
For example, one could printout all the arguments via
```julia
Expand Down

0 comments on commit 3a1abab

Please sign in to comment.