parameters: (self, factor)
return_statement: return self
docstring: Return a resized jagged array for 'text' either up or down by int 'factor'.
          Size up if factor is positive, down if negative.
          Size up or down the number of times per factor's size.
          E.g., up twice for '2', down twice for '-2'.
docstring_summary: Return a resized jagged array for 'text' either up or down by int 'factor'.
          Size up if factor is positive, down if negative.
          Size up or down the number of times per factor's size.
          E.g., up twice for '2', down twice for '-2'.
docstring_tokens: Return a resized jagged array for text either up or down by int factor . Size up if factor is positive down if negative . Size up or down the number of times per factor s size . E . g . up twice for 2 down twice for - 2 .
function: def resize(self, factor):
          """
          Return a resized jagged array for 'text' either up or down by int 'factor'.
          Size up if factor is positive, down if negative.
          Size up or down the number of times per factor's size.
          E.g., up twice for '2', down twice for '-2'.
          """
          if factor > 0:
              for i in range(factor):
                  self._upsize()
          elif factor < 0:
              for i in range(abs(factor)):
                  self._downsize()
          self._reinit()
          return self
function_tokens: def resize ( self , factor ) : if factor > 0 : for i in range ( factor ) : self . _upsize ( ) elif factor < 0 : for i in range ( abs ( factor ) ) : self . _downsize ( ) self . _reinit ( ) return self