Invert vertex selection with Python I have a few vertices selected, obviously in edit mode.

Running bpy.ops.info.select_all(action='INVERT')  in the Python console gives me a RuntimeError: Operator bpy.ops.info.select_all.poll() failed, context is incorrect though ?
That's exactly the command the GUI shows me when hovering Select &gt; Invert, and doing it though the GUI works of course.
Found the solution: The labeling in Blender is apparently wrong. The right command is bpy.ops.mesh.select_all(action='INVERT')