Update oop.rst

Correcting, based on example code and what's expected.