Skip to content

Commit 57b7379

Browse files
JackDunnNZsimeonschaub
authored andcommitted
Add compat to docstring for single-arg isapprox (JuliaLang#40659)
Co-authored-by: Simeon Schaub <[email protected]>
1 parent 065f388 commit 57b7379

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

base/floatfuncs.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@ end
295295
Create a function that compares its argument to `x` using `≈`, i.e. a function equivalent to `y -> y ≈ x`.
296296
297297
The keyword arguments supported here are the same as those in the 2-argument `isapprox`.
298+
299+
!!! compat "Julia 1.5"
300+
This method requires Julia 1.5 or later.
298301
"""
299302
isapprox(y; kwargs...) = x -> isapprox(x, y; kwargs...)
300303

0 commit comments

Comments
 (0)