parameters: (self, upper_limit)
return_statement: return self.start + abs(self.step) * no_steps
docstring: Returns the largest element smaller than or equal to the limit
docstring_summary: Returns the largest element smaller than or equal to the limit
docstring_tokens: Returns the largest element smaller than or equal to the limit
function: def _max_fitting_element(self, upper_limit):
          """Returns the largest element smaller than or equal to the limit"""
          no_steps = (upper_limit - self.start) // abs(self.step)
          return self.start + abs(self.step) * no_steps
function_tokens: def _max_fitting_element ( self , upper_limit ) : no_steps = ( upper_limit - self . start ) // abs ( self . step ) return self . start + abs ( self . step ) * no_steps