Skip to content

Commit

Permalink
added compat
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 10, 2023
1 parent 3623b67 commit 93b1818
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/iterators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,9 @@ julia> unzip(enumerate("Hello"))
julia> unzip([[1, "apple"], [2.5, "orange"], [0, "mango"]])
(Real[1, 2.5, 0], ["apple", "orange", "mango"])
```
!!! compat "Julia 1.10"
The `unzip` function requires Julia 1.10 or later.
"""
function unzip(itrs)
n = Base.haslength(itrs) ? length(itrs) : nothing
Expand Down

0 comments on commit 93b1818

Please sign in to comment.