Skip to content
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

Merged
merged 3 commits into from
May 17, 2024

Conversation

funwithgit
Copy link
Contributor

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

  • Adding a new entry

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • [x
classes classes1

@mohitO12-dev mohitO12-dev self-assigned this Apr 15, 2024
@mohitO12-dev mohitO12-dev added documentation Improvements or additions to documentation typo Fixing a typo new entry New entry or entries status: under review Issue or PR is currently being reviewed status: waiting for author and removed status: under review Issue or PR is currently being reviewed new entry New entry or entries labels Apr 15, 2024
Copy link
Collaborator

@mohitO12-dev mohitO12-dev left a 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.
Copy link
Collaborator

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.

@Sriparno08 Sriparno08 added enhancement New feature or request python Python entries status: under review Issue or PR is currently being reviewed and removed documentation Improvements or additions to documentation typo Fixing a typo labels May 17, 2024
@Sriparno08 Sriparno08 self-assigned this May 17, 2024
Copy link
Collaborator

@Sriparno08 Sriparno08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, @funwithgit! 👍

@Sriparno08 Sriparno08 merged commit 512394e into Codecademy:main May 17, 2024
6 checks passed
Copy link

👋 @funwithgit
You have contributed to Codecademy Docs, and we would like to know more about you and your experience.
Please take a minute to fill out this four question survey to help us better understand Docs contributions and how we can improve the experience for you and our learners.
Thank you for your help!

🎉 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.
If you're appearing as anonymous and want to be credited, see here.

@Sriparno08 Sriparno08 added status: review 2️⃣ completed and removed status: under review Issue or PR is currently being reviewed labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants