Update events.rst

Adding semi-colon to example