BadPython.com

Suggestion for "Using globals"

don't use globals, it's not expandable.
            
def simple_func(my_var, x=None):
    if x is None:
        my_var += 1