Creating Function In Class Python Documentation Tutorial