# operator-rshift

*>>*

The right shift operator accepts plain or long integers as arguments. The arguments are converted to a common type. It shifts the first argument to the right by the number of bits given by the second argument.

A right shift by n bits is defined as division by `pow(2,n)`

. Negative shift counts raise a **ValueError** exception.

To support this operator in your own classes, implement the **__rshift__** method.