mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-18 18:45:07 +00:00
![]() ## Summary The PR adds an explicit check for `"__builtins__"` during name lookup, similar to how `"__file__"` is implemented. The inferred type is `Any`. closes https://github.com/astral-sh/ty/issues/393 ## Test Plan Added a markdown test for `__builtins__`. --------- Co-authored-by: David Peter <sharkdp@users.noreply.github.com> |
||
---|---|---|
.. | ||
builtin.md | ||
eager.md | ||
global.md | ||
moduletype_attrs.md | ||
nonlocal.md | ||
unbound.md |