Skip to content

Commit

Permalink
[Edit] Python: Classes
Browse files Browse the repository at this point in the history
* Add sentence to make sure classs names are capitalized

* Minor changes

---------
  • Loading branch information
funwithgit committed May 17, 2024
1 parent 01f5557 commit 512394e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/python/concepts/classes/classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The usage of classes are a key element of [object-oriented programming](https://

## Creating a Class

In Python, classes are defined using the [`class`](https://www.codecademy.com/resources/docs/python/keywords/class) keyword.
In Python, classes are defined using the [`class`](https://www.codecademy.com/resources/docs/python/keywords/class) keyword. The first letter of the name of the class is always capitalized. For instance, the first letter of the `Home` class in the below example, i.e., 'H', is capitalized:

```py
class Home:
Expand Down

0 comments on commit 512394e

Please sign in to comment.