Skip to content

Commit

Permalink
clarify isdigit docs - ASCII digits only (JuliaLang#54492)
Browse files Browse the repository at this point in the history
The `isdigit` function only checks for ASCII digits — this PR clarifies
the docs to make that explicit.

See
JuliaLang#54447 (comment).
Closes JuliaLang#54447.
  • Loading branch information
stevengj authored and lazarusA committed Jul 12, 2024
1 parent 8cb762b commit 983158e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/strings/unicode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ end
"""
isdigit(c::AbstractChar) -> Bool
Tests whether a character is a decimal digit (0-9).
Tests whether a character is an ASCII decimal digit (`0`-`9`).
See also: [`isletter`](@ref).
Expand Down

0 comments on commit 983158e

Please sign in to comment.