Suppose we have the following package
BeginPackage["ABC`"] Begin["DEF`"] f1 = 0; f2[x_] := x + 1 End EndPackage
Using the package from a notebook yields the following definitions.
Needs["ABC`"] In:= Definition[DEF`f1] Out= DEF`f1 = 0 In:= Definition[DEF`f2] Out= DEF`f2[DEF`x_] := DEF`x + 1
DEF`* be "moved" to
Global` such that the definitions are of the same form as if they were defined in
In:= Definition[f1] Out= f1 = 0 In:= Definition[f2] Out= f2[x_] := x + 1
Update Some motivation as requested by Szabolcs: this is useful e.g. when you want to print definitions from a context in a package without touching the source code of the package.