Skip to content

added errors raised in documentation#42

Merged
yhouyang02 merged 1 commit intomainfrom
result_to_pattern_update
Jan 17, 2026
Merged

added errors raised in documentation#42
yhouyang02 merged 1 commit intomainfrom
result_to_pattern_update

Conversation

@sgauth01
Copy link
Collaborator

  • just added the "Raises" section in the documentation

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds a "Raises" section to the docstring of the result_to_pattern function to document the exceptions that the function can raise.

Changes:

  • Added documentation for TypeError raised when the input is not a string
  • Added documentation for ValueError raised when the input contains invalid characters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yhouyang02 yhouyang02 merged commit 7833a1e into main Jan 17, 2026
14 of 15 checks passed
@yhouyang02 yhouyang02 deleted the result_to_pattern_update branch January 17, 2026 10:27
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.

3 participants