You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help?> iterate
search: iterate state Iterators bitrotate titlecase enumerate isinteractive @deprecate @generated intersect!
iterate(iter [, state]) -> Union{Nothing, Tuple{Any, Any}}
Advance the iterator to obtain the next element. If no elements remain, nothing should be returned. Otherwise, a 2-tuple of the next element and the new
iteration state should be returned.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
iterate(s::AbstractString, i::Integer) -> Union{Tuple{<:AbstractChar, Int}, Nothing}
Return a tuple of the character in s at index i with the index of the start of the following character in s. This is the key method that allows strings to
be iterated, yielding a sequences of characters. If i is out of bounds in s then a bounds error is raised. The iterate function, as part of the iteration
protocol may assume that i is the start of a character in s.
See also getindex, checkbounds.
The docstring for
iterate
as shown in my REPL:However, the following runs without error:
I think this sentence in the docstring should be removed:
My
versioninfo()
The text was updated successfully, but these errors were encountered: