examples/complex_example.py
def mix_and_match(name, greeting='Hello', yell=False):
    '''Mixing and matching positional args and keyword options.'''
    say = '%s, %s' % (greeting, name)
    if yell:
        print '%s!' % say.upper()
    else:
        print '%s.' % say
def mix_and_match(name, greeting='Hello', yell=False):
    '''Mixing and matching positional args and keyword options.'''
    say = '%s, %s' % (greeting, name)
    if yell:
        print '%s!' % say.upper()
    else:
        print '%s.' % say
Mixing and matching positional args and keyword options.