def top_patch(self):
patches = self.patches()<EOL>if not patches:<EOL><INDENT>return None<EOL><DEDENT>return patches[-<NUM_LIT:1>]<EOL>
Returns the last patch from the patches list or None if the list
            is empty