original_docstring: 
          Calculate the max speed of this vessel based on the current
          engine power and it's class
          
docstring: Calculate the max speed of this vessel based on the current
  engine power and it's class
docstring_tokens: Calculate the max speed of this vessel based on the current engine power and it ' s class
code: def max_speed(self):
          """
          Calculate the max speed of this vessel based on the current
          engine power and it's class
          """
          total_power = functools.reduce(
              lambda x, y: x.power + y.power, self._engines
          ) if len(self._engines) > 1 else self._engines[0].power
  
          return total_power / Ship.WEIGHT_CLASS[self._class]
code_tokens: def max_speed ( self ) : total_power = functools . reduce ( lambda x , y : x . power + y . power , self . _engines ) if len ( self . _engines ) > 1 else self . _engines [ 0 ] . power return total_power / Ship . WEIGHT_CLASS [ self . _class ]
short_docstring: Calculate the max speed of this vessel based on the current
  engine power and it's class
short_docstring_tokens: Calculate the max speed of this vessel based on the current engine power and it ' s class
comment: """
          Calculate the max speed of this vessel based on the current
          engine power and it's class
          """