def _shrink_list(self, shrink):
res = []<EOL>if len(shrink) == <NUM_LIT:1>:<EOL><INDENT>return self.shrink(shrink[<NUM_LIT:0>])<EOL><DEDENT>else:<EOL><INDENT>for a in shrink:<EOL><INDENT>temp = self.shrink(a)<EOL>if temp:<EOL><INDENT>res.append(temp)<EOL><DEDENT><DEDENT><DEDENT>return res<EOL>
Shrink list down to essentials

:param shrink: List to shrink
:type shrink: list
:return: Shrunk list
:rtype: list