Clarify comments for python related functions