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

Refactor tree data structure code for better readability and maintain… #218

Closed
wants to merge 1 commit into from
Closed

Conversation

Etzshally
Copy link

  • Added type annotations to all methods for improved type safety and clarity.
  • Replaced old string formatting with f-strings for better readability.
  • Separated wildcard and non-wildcard logic in find_child method for clarity.
  • Improved error handling with more descriptive error messages in init.
  • Added docstrings to methods for better documentation.
  • Handled mutable default arguments safely by using None and setting defaults within methods.
  • Ensured all existing functionality remains intact.

Copy link
Author

@Etzshally Etzshally left a comment

Choose a reason for hiding this comment

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

I've reviewed, this doesn't effect the previous working of the structure.

@Etzshally Etzshally closed this by deleting the head repository Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant