Correct terminology in function.py

Fixes #1273.