From 468ced4fa9d97fe48680f3fd68349dc9c86a7366 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Mon, 9 Nov 2020 17:33:02 +1300 Subject: [PATCH] Fix docstring for isidentifier --- base/show.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/show.jl b/base/show.jl index 82cea00739833..a93f2bd633749 100644 --- a/base/show.jl +++ b/base/show.jl @@ -1138,7 +1138,7 @@ is_id_char(c::AbstractChar) = ccall(:jl_id_char, Cint, (UInt32,), c) != 0 Return whether the symbol or string `s` contains characters that are parsed as a valid identifier in Julia code. -Internally Julia allows any sequence of characters in a `Symbol` (except `\0`s), +Internally Julia allows any sequence of characters in a `Symbol` (except `\\0`s), and macros automatically use variable names containing `#` in order to avoid naming collision with the surrounding code. In order for the parser to recognize a variable, it uses a limited set of characters (greatly extended by