From 3b8a192b21b3849da04498d93b679ae27a131fc5 Mon Sep 17 00:00:00 2001 From: eqsdxr <157279130+eqsdxr@users.noreply.github.com> Date: Sun, 16 Feb 2025 09:59:17 +0000 Subject: [PATCH] Fix typo --- .../python/content/methods-dunder@zAS4YiEJ6VPsyABrkIG8i.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/python/content/methods-dunder@zAS4YiEJ6VPsyABrkIG8i.md b/src/data/roadmaps/python/content/methods-dunder@zAS4YiEJ6VPsyABrkIG8i.md index 45982ba48..2d3a0070d 100644 --- a/src/data/roadmaps/python/content/methods-dunder@zAS4YiEJ6VPsyABrkIG8i.md +++ b/src/data/roadmaps/python/content/methods-dunder@zAS4YiEJ6VPsyABrkIG8i.md @@ -5,7 +5,7 @@ A method in python is somewhat similar to a function, except it is associated wi - The method is implicitly used for an object for which it is called. - The method is accessible to data that is contained within the class. -Dunder or magic methods in Python are the methods having two prefix and suffix underscores in the method name. Dunder here means “Double Under (Underscores)”. These are commonly used for operator overloading. Few examples for magic methods are: **`__init__`**, **`__add__`**, **`__len__`**, **`__repr__`** etc. +Dunder or magic methods in Python are the methods that have two prefix and suffix underscores in the method name. Dunder here means “Double Under (Underscores)”. These are commonly used for operator overloading. Few examples for magic methods are: **`__init__`**, **`__add__`**, **`__len__`**, **`__repr__`** etc. Visit the following resources to learn more: