diff --git a/base/loading.jl b/base/loading.jl index 5da5cc931421f..1420b5bfe5115 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -1643,7 +1643,9 @@ end """ get_extension(parent::Module, extension::Symbol) -Return the module for `extension` of `parent` or return `nothing` if the extension is not loaded. +Return the module for `extension` relative to `parent` or return `nothing` if the extension is not loaded. +This function is private, since the arguments to it are private implementation details. +It is provided mainly for testing and reflection purposes. """ get_extension(parent::Module, ext::Symbol) = get_extension(PkgId(parent), ext) function get_extension(parentid::PkgId, ext::Symbol) diff --git a/base/public.jl b/base/public.jl index 9be5e535339a3..5953c684d1963 100644 --- a/base/public.jl +++ b/base/public.jl @@ -54,7 +54,6 @@ public active_project, # Reflection and introspection - get_extension, isambiguous, isexpr, isidentifier,