ruff
4e335011 - Fixed documentation for try_consider_else (#20587)

Commit
3 days ago
Fixed documentation for try_consider_else (#20587) <!-- Thank you for contributing to Ruff/ty! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? (Please prefix with `[ty]` for ty pull requests.) - Does this pull request include references to any relevant issues? --> ## Summary This PR addresses #20570 . In the example, the correct usage had a bug/issue where in the except block after logging exception, None was getting returned, which made the linters flag out the code. So adding an empty raise solves the issue. ## Test Plan Tested it by building the doc locally.
Author
Parents
Loading