def METHOD_NAME(mname, globals=None, locals=None, fromlist=None, level=None):
    """
    Special case to allow builting import for time module. For some reason this is invoked from datetime.strftime()
    Fixes https://github.com/amyxzhang/policykit/issues/534
    """
    if mname == "time":
        return __import__(mname, globals or {}, locals or {}, fromlist or ())
    raise SyntaxError(f"Restricted, cannot import '{mname}'")