Creating Function In Class Python Documentation