Skip to content

Commit 40b025b

Browse files
committed
Correct docstring for @__FILE__ ref #12727
1 parent e36d954 commit 40b025b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base/docs/helpdb.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -9929,8 +9929,7 @@ keywords[symbol("@__FILE__")] = doc"""
99299929
99309930
@__FILE__() -> AbstractString
99319931
9932-
`@__FILE__` expands to a string with the absolute path and file name of the script being run.
9933-
Returns `"none"` if run from a REPL or command-line context.
9932+
`@__FILE__` expands to a string with the absolute path and file name of the script being run. Returns `nothing` if run from a REPL or an empty string if evaluated by `julia -e <expr>`.
99349933
"""
99359934

99369935
keywords[symbol("@__LINE__")] = doc"""

0 commit comments

Comments
 (0)