Update working-with-objects.rst

Fix syntax error in constructor.