Fix typos in content (#8218)

* Fix small typos

* Fix typo

* Fix typo
pull/8224/head
eqsdxr 4 days ago committed by GitHub
parent 17d30c0e8d
commit 7d7835ee9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/python/content/methods-dunder@zAS4YiEJ6VPsyABrkIG8i.md
  2. 2
      src/data/roadmaps/python/content/object-oriented-programming@P_Di-XPSDITmU3xKQew8G.md
  3. 2
      src/data/roadmaps/python/content/ruff@6cB0pvUO1-gvCtgqozP-Q.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:

@ -1,6 +1,6 @@
# OOP
In Python, object-oriented Programming (OOPs) is a programming paradigm that uses objects and classes in programming. It aims to implement real-world entities like inheritance, polymorphisms, encapsulation, etc. in the programming. The main concept of OOPs is to bind the data and the functions that work on that together as a single unit so that no other part of the code can access this data.
In Python, object-oriented Programming (OOPs) is a programming paradigm that uses objects and classes in programming. It aims to implement real-world entities like inheritance, polymorphism, encapsulation, etc., in programming. The main concept of OOPs is to bind the data and the functions that work on that together as a single unit so that no other part of the code can access this data.
Visit the following resources to learn more:

@ -2,4 +2,4 @@
An extremely fast Python linter and code formatter, written in Rust.
- [@official@ruff documentation](https://docs.astral.sh/ruff/)
- [@official@Ruff documentation](https://docs.astral.sh/ruff/)

Loading…
Cancel
Save