def negate_version(self) -> None:
if not self.is_locked():<EOL><INDENT>raise InternalError(<EOL>f"<STR_LIT>"<EOL>)<EOL><DEDENT>self.version = "<STR_LIT:!>" + self.version[<NUM_LIT:1>:]<EOL>
Negate version of a locked package version.