Skip to content

Commit

Permalink
Merge pull request #39 from DilumAluthge/da/confusing-docstring
Browse files Browse the repository at this point in the history
Fix a potentially confusing docstring
  • Loading branch information
pfitzseb authored Sep 17, 2019
2 parents f30cef5 + 1803228 commit bab3763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/check.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To throw an error if any warnings occur inside any functions, set
To throw an error if any warnings occur inside any functions EXCEPT for a
certain set of functions, list the exceptions in the `except` variable,
for example `except=[f,g,h]`
for example `except=[g,h]`
"""
function check(f; nowarn=Any[], except=Any[], kwargs...)
if !isempty(except) # if `except` is provided, we ignore the value of `nowarn`
Expand Down Expand Up @@ -71,7 +71,7 @@ To throw an error if any warnings occur inside any functions, set
To throw an error if any warnings occur inside any functions EXCEPT for a
certain set of functions, list the exceptions in the `except` variable,
for example `except=[f,g,h]`
for example `except=[g,h]`
"""
macro check(expr, args...)
quote
Expand Down

0 comments on commit bab3763

Please sign in to comment.