Generalization refers to a logical error in applying inductive reasoning to draw a conclusion only based on the investigation of a few non typical objects, or even ignoring the existence of counterexamples, and treat this conclusion as a reliable conclusion.
The inference 'The sum of the three internal angles of a right triangle, an acute triangle and an obtuse triangle is 180 degrees. Therefore, the sum of the internal angles of any triangle is 180 degrees' does not involve generalization.