From 7afb39249ede08fb8bf81a9108d7338236e810d9 Mon Sep 17 00:00:00 2001 From: isabbell <47088686+isabbell@users.noreply.github.com> Date: Sat, 11 Oct 2025 15:03:07 -0300 Subject: [PATCH] Update 6-more-examples-with-classes.md Fixed translation ("origin" instead of "origo") --- data/part-9/6-more-examples-with-classes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/part-9/6-more-examples-with-classes.md b/data/part-9/6-more-examples-with-classes.md index 892d12160..59a4be094 100644 --- a/data/part-9/6-more-examples-with-classes.md +++ b/data/part-9/6-more-examples-with-classes.md @@ -26,10 +26,10 @@ class Point: self.x = x self.y = y - # This class method returns a new Point at origo (0, 0) + # This class method returns a new Point at origin (0, 0) # It is possible to return a new instance of the class from within the class @classmethod - def origo(cls): + def origin(cls): return Point(0, 0) # This class method creates a new Point based on an existing Point @@ -77,8 +77,8 @@ class Line: point = Point(1,3) print(point) -origo = Point.origo() -print(origo) +origin = Point.origin() +print(origin) point2 = Point.mirrored(point, True, True) print(point2)