MethodApplies to: general, python, cppA method is a function attached to an object or class. It usually works with the object's internal state. text = "abc" text.upper() See also: function, class, object