def defaultget(option):
    if (not hasattr(option, 'type')):
        return
    if (option.type is int):
        option.default = 42
    elif (option.type is str):
        option.default = 'world'
def defaultget(option):
    if (not hasattr(option, 'type')):
        return
    if (option.type is int):
        option.default = 42
    elif (option.type is str):
        option.default = 'world'