Un-registers a function from the print hook queue.
    Look at the sys.displayhook documentation for more information.
    
    :param      func | <callable>

def unregisterStdOut(func):
    """
    Un-registers a function from the print hook queue.
    Look at the sys.displayhook documentation for more information.
    
    :param      func | <callable>
    """
    try:
        sys.stdout.hooks.remove(weakref.ref(func))
    except (AttributeError, ValueError):
        pass