I found a package Pack
that has this structure:
ClearAll["Pack2`*"];
BeginPackage[ "Pack2`"]
...
Begin["`Private`"];
...
End[]
Protected["Pack2`"];
EndPackage[]
What does Protected["Pack2`"];
do at the whole package?
I read here, but it didn't help me.
Protected["Pack2`"];
does nothing. I guess that the author of the package wanted to writeProtect["Pack2`*"];
, but made a typo. $\endgroup$