# Protected Package

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 write Protect["Pack2*"];, but made a typo. – Shadowray Jul 14 '17 at 11:59
• @Shadowray I think that is a guess worth an answer :) – Kuba Jul 17 '17 at 13:57

Protected["Pack2"]; does nothing. I guess that the author of the package wanted to write Protect["Pack2*"];, but made a typo.
Protect["context*"]` protects all symbols in a particular context.