A device (10, 470) for gastrectomy, comprising: an elongated tubular member (12, 443) defining a central line extending through its proximal and distal ends, the elongated member (12, 443) defining an opening lateral (12a); and a modifying member (16, 444) so that it can be displaced through the lateral opening (12a) of the elongated member (12, 443) and with respect to the center line of the elongated member (12, 443) between a first state, adjacent to the elongated member (12, 443), and a second state, separated from the elongated member (12, 443), the shape modifying member (16, 444) being configured to conform to a part of a patient's stomach in the second state, characterized in that at least a part of the shape modifying member (16, 444) includes one or more lights (452); and because the elongate member (12, 443) includes a strain relief feature (471) disposed at a predetermined distance from the distal end of the elongate member (12, 443), separating the strain relief feature (471) distally and proximal of the elongated member (12, 443) at a pivot point, the distal part of the elongated member (12, 443) being able to pivot with respect to the proximal part of the elongated member (12, 443).Un dispositivo (10, 470) para gastrectomía, que comprende: un miembro alargado tubular (12, 443) que define una línea central que se extiende a través de sus extremos proximal y distal, definiendo el miembro alargado (12, 443) una abertura lateral (12a); y un miembro (16, 444) modificador de forma que se puede desplazar a través de la abertura lateral (12a) del miembro alargado (12, 443) y con respecto a la línea central del miembro alargado (12, 443) entre un primer estado, adyacente al miembro alargado (12, 443), y un segundo estado, separado del miembro alargado (12, 443), estando configurado el miembro (16, 444) modificador de forma para amoldarse a una parte del estómago de un paciente en el segundo estado, caracterizado por que al menos una parte del miembro (16, 444)