def bump(self, target):
if target == '<STR_LIT>':<EOL><INDENT>return Version(self.major, self.minor, self.patch + <NUM_LIT:1>)<EOL><DEDENT>if target == '<STR_LIT>':<EOL><INDENT>return Version(self.major, self.minor + <NUM_LIT:1>, <NUM_LIT:0>)<EOL><DEDENT>if target == '<STR_LIT>':<EOL><INDENT>return Version(self.major + <NUM_LIT:1>, <NUM_LIT:0>, <NUM_LIT:0>)<EOL><DEDENT>return self.clone()<EOL>
Bumps the Version given a target

The target can be either MAJOR, MINOR or PATCH