Arguments

Arguments are in lowercase, with underscores if needed. They follow the same naming rules as variables because arguments are simply local variables that get their value as function input values. In the following example, text and separator are arguments of one_line() function:

def one_line(text, separator=" "):
"""Convert possibly multiline text to single line"""
return separator.join(text.split())

The naming style of properties is discussed in the next section.