Skip to content

TASK: Implement copy() method to the Person class #143

Description

@TheGittyPerson

Leave a comment if you want to work on this task!

Difficulty: Lower Intermediate to Intermediate

TODO:

  • Add a copy() method to the Person class in person.py.
  • The method should have a deep parameter of type bool that defaults to True. This determines whether all other mutable instance attributes should also be copied.
  • Remember to add type hints and docstrings where necessary and follow PEP 8

PR steps:

  1. Fork this repo
  2. Clone the forked repo
  3. Create a new branch and name it feature/copy-method
  4. Push commits to your remote fork
  5. Create a PR titled TASK: Implement `copy()` method to the `Person` class (#143)
  6. At the end of the PR description, add Closes #143
  7. Submit the PR (Ensure you allow maintainers to edit)

Please make sure you have read the Contributing Guidelines before working.


Feel free to ask any questions here!

If you are interested in working on this task,
please leave a comment requesting assignment to explicitly let others know the task is taken and prevent duplicate PRs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancementgood first issueGood for newcomershelp wantedExtra attention is neededtaskThis is a task issue / PR completing a task🐜 Lower IntermediateGood for growing devs with some confidence in programming🦟 IntermediateGood for growing devs who've been coding for a while

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions