Skip to content

Conversation

@jjwheatley
Copy link
Contributor

Description

Added Term-Entry for Python's update_wrapper() method from the functools module.

Issue Solved

Closes #7456

Type of Change

Adding a new entry
Updating the documentation

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.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

@mamtawardhani mamtawardhani self-assigned this Aug 16, 2025
Copy link
Collaborator

@mamtawardhani mamtawardhani 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 for a second review! 🚀

Copy link
Collaborator

@dakshdeepHERE dakshdeepHERE left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@dakshdeepHERE
Copy link
Collaborator

@jjwheatley never use () at the end of your branch names.

Copy link
Collaborator

@dakshdeepHERE dakshdeepHERE left a comment

Choose a reason for hiding this comment

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

Hey @jjwheatley, thanks so much for this contribution! The changes look good. Just a friendly heads-up for future branches: it's a good practice to avoid using special characters like parentheses () in branch names.

The main reason is that they have special meaning on the command line, which forces us to wrap the branch name in quotes for every single git operation (fetch, checkout, push, etc.). They can also cause issues with URL encoding and other development tools.

Using hyphens to separate words (e.g., update-functools-wrapper) is a common convention that avoids these problems.

@dakshdeepHERE dakshdeepHERE merged commit 7cf3831 into Codecademy:main Aug 27, 2025
7 checks passed
@github-actions
Copy link

👋 @jjwheatley
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/functools-module/update-wrapper

Please note it may take a little while for changes to become visible.
If you're appearing as anonymous and want to be credited, visit the linked accounts page and ensure that your GitHub account is linked.

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.

[Term Entry] Python functools: update_wrapper()

3 participants