learn-python icon indicating copy to clipboard operation
learn-python copied to clipboard

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

Open drishangupta opened this issue 1 year ago • 5 comments

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

  • [x] I have gone through the contributing guide
  • [x] 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.

  • [x] I Agree

drishangupta avatar May 11 '24 22:05 drishangupta

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

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

animator avatar May 12 '24 01:05 animator

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

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

drishangupta avatar May 12 '24 08:05 drishangupta

I have made the changes

drishangupta avatar May 12 '24 08:05 drishangupta

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 avatar May 12 '24 08:05 drishangupta

Rectify formatting issues:

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

animator avatar May 12 '24 14:05 animator

I have rectified the mentioned changes

drishangupta avatar May 14 '24 03:05 drishangupta