Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc2f42a6

Browse files
authored
Names docstring: compat & implicit using (#59937)
Followup of#54609
1 parent0601916 commitc2f42a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎base/runtime_internals.jl‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ If `all` is true, then the list also includes non-public names defined in the mo
9595
deprecated names, and compiler-generated names.
9696
If `imported` is true, then names explicitly imported from other modules
9797
are also included.
98-
If `usings` is true, then names explicitly imported via `using` are also included.
98+
If `usings` is true, then names explicitlyor implicitlyimported via `using` are also included.
9999
Names are returned in sorted order.
100100
101101
As a special case, all names defined in `Main` are considered\"public\",
@@ -110,6 +110,9 @@ since it is not idiomatic to explicitly mark names from `Main` as public.
110110
`names` may return duplicate names. The duplication happens, e.g. if an `import`ed name
111111
conflicts with an already existing identifier.
112112
113+
!!! compat "Julia 1.12"
114+
The `usings` argument requires Julia 1.12 or later.
115+
113116
See also: [`Base.isexported`](@ref), [`Base.ispublic`](@ref), [`Base.@locals`](@ref), [`@__MODULE__`](@ref).
114117
"""
115118
names(m::Module; kwargs...)=sort!(unsorted_names(m; kwargs...))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp