-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sentence to make sure classs names are capitalized #4392
Add sentence to make sure classs names are capitalized #4392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved
@@ -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 'Home' class below the h is always capitalized. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Python, classes are defined using the class
keyword. The first letter of the name of the class is always capitalized. For instance, the 'Home' class, below, the 'h' is always capitalized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, @funwithgit! 👍
👋 @funwithgit 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/python/classes Please note it may take a little while for changes to become visible. |
Description
We always want to make sure class names are capitalized and adding this part to the doc will help enforce that understanding.
Issue Solved
The issue solved here is keeping in mind class names have to be capitalized.
Type of Change
Checklist
main
branch.