mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:37 +00:00

## Summary When resolving `dict.__dict__`, we were discarding the `.__dict__` segment when computing the call path. ## Test Plan `cargo test`
5 lines
126 B
Python
5 lines
126 B
Python
"""Test for attribute accesses on builtins."""
|
|
|
|
a = type({}).__dict__['fromkeys']
|
|
b = dict.__dict__['fromkeys']
|
|
assert a is b
|