parameters: (self, a, b)
return_statement: return a.rotate(b, context=self)
docstring: Returns a rotated copy of a, b times.
  
          The coefficient of the result is a rotated copy of the digits in
          the coefficient of the first operand.  The number of places of
          rotation is taken from the absolute value of the second operand,
          with the rotation being to the left if the second operand is
          positive or to the right otherwise.
  
          >>> ExtendedContext.rotate(Decimal('34'), Decimal('8'))
          Decimal('400000003')
          >>> ExtendedContext.rotate(Decimal('12'), Decimal('9'))
          Decimal('12')
          >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('-2'))
          Decimal('891234567')
          >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('0'))
          Decimal('123456789')
          >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('+2'))
          Decimal('345678912')
          >>> ExtendedContext.rotate(1333333, 1)
          Decimal('13333330')
          >>> ExtendedContext.rotate(Decimal(1333333), 1)
          Decimal('13333330')
          >>> ExtendedContext.rotate(1333333, Decimal(1))
          Decimal('13333330')
docstring_summary: Returns a rotated copy of a, b times.
docstring_tokens: Returns a rotated copy of a b times .
function: def rotate(self, a, b):
          """Returns a rotated copy of a, b times.
  
          The coefficient of the result is a rotated copy of the digits in
          the coefficient of the first operand.  The number of places of
          rotation is taken from the absolute value of the second operand,
          with the rotation being to the left if the second operand is
          positive or to the right otherwise.
  
          >>> ExtendedContext.rotate(Decimal('34'), Decimal('8'))
          Decimal('400000003')
          >>> ExtendedContext.rotate(Decimal('12'), Decimal('9'))
          Decimal('12')
          >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('-2'))
          Decimal('891234567')
          >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('0'))
          Decimal('123456789')
          >>> ExtendedContext.rotate(Decimal('123456789'), Decimal('+2'))
          Decimal('345678912')
          >>> ExtendedContext.rotate(1333333, 1)
          Decimal('13333330')
          >>> ExtendedContext.rotate(Decimal(1333333), 1)
          Decimal('13333330')
          >>> ExtendedContext.rotate(1333333, Decimal(1))
          Decimal('13333330')
          """
          a = _convert_other(a, raiseit=True)
          return a.rotate(b, context=self)
function_tokens: def rotate ( self , a , b ) : a = _convert_other ( a , raiseit = True ) return a . rotate ( b , context = self )