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

Have added a section in advanced python dedicated to decorators, kwargs, args #117

Merged
merged 8 commits into from May 16, 2024

Conversation

drishangupta
Copy link
Contributor

@drishangupta drishangupta commented May 11, 2024

PR Description

Have added a full section of decorators which covers everything a newbie might need to learn decorators, including first class objects in python.

Related Issues

  • Closes #

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR

Undertaking

I declare that:

  1. The content I am submitting is original and has not been plagiarized.
  2. No portion of the work has been copied from any other source without proper attribution.
  3. The work has been checked for plagiarism, and I assure its authenticity.

I understand that any violation of this undertaking may have legal consequences that I will bear and could result in the withdrawal of any recognition associated with the work.

  • I Agree

@animator animator linked an issue May 12, 2024 that may be closed by this pull request
@animator
Copy link
Owner

You have modified the PR template. You should mark the checkboxes properly:

- [x] instead of - [x ] or - [ x]

@drishangupta
Copy link
Contributor Author

You have modified the PR template. You should mark the checkboxes properly:

- [x] instead of - [x ] or - [ x]

@drishangupta
Copy link
Contributor Author

I have made the changes

@drishangupta
Copy link
Contributor Author

Actually, I noticed that I forgot to add python, it is just `````` in the last 2 code snippets, I dont think I should be opening a new pr for that

@drishangupta drishangupta reopened this May 12, 2024
@animator
Copy link
Owner

Rectify formatting issues:

  • IDLE console has >>> not >>
  • Inconsistent indentation - 4 spaces should be used everywhere

@drishangupta
Copy link
Contributor Author

I have rectified the mentioned changes

@animator animator merged commit 379e747 into animator:main May 16, 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.

Section about decorator functions and *args, **kwargs
2 participants