Revert "fix python function naming inconsistency"

This reverts commit 039a62ce2d725ff21cb144d79facae47561abf9e.
Correct fix for API consistency.