def METHOD_NAME(cls):
    # this classmethod will normally be replaced by an instance
    # attribute of the same name, so this is normally only called once.
    cls._load_mx_exceptions()
    platform = sys.platform
    if platform == 'win32':
        from mx.ODBC import Windows as module
    # this can be the string "linux2", and possibly others
    elif 'linux' in platform:
        from mx.ODBC import unixODBC as module
    elif platform == 'darwin':
        from mx.ODBC import iODBC as module
    else:
        raise ImportError("Unrecognized platform for mxODBC import")
    return module