Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[red-knot] De-duplicate symbol table query (astral-sh#16515)
## Summary This PR does a small refactor to avoid double `symbol_table(...).symbol(...)` call to check for `__slots__` and `TYPE_CHECKING`. It merges them into a single call. I noticed this while looking at astral-sh#16468.
- Loading branch information