Fix minor issue regarding sum() in docs

Based on the current outstanding issue .. I've decided to fix the minor issue in the docs.