doc: Add missing python function