[SOLVED] Determine which are selecting by user in editmode (vertex / edges / faces)

How can I tell if the user is selecting faces or edges or vertices with python?, Thanks.

edit_mode = bpy.context.tool_settings.mesh_select_mode


Thanks Darcvizer!.