yazdeco Profile Topics Started Replies Created Engagements Favorites Search replies: Forum Replies Created Viewing 2 posts - 1 through 2 (of 2 total) Author Posts November 29, 2025 at 8:52 pm in reply to: How class methods work #5803 yazdecoParticipant Instead of return Point(0, 0), I would do return cls(0, 0). This way if you at some point decide to rename Point to e.g. Point2D, you just have to do it once, after the class keyword. 9Apps November 29, 2025 at 8:49 pm in reply to: Regarding parameter of a class method #5801 yazdecoParticipant Not quite, because class methods don’t receive any state as parameters. If you tried to access cls.x you’d get an attribute error. snaptube Author Posts Viewing 2 posts - 1 through 2 (of 2 total)