mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
[red-knot] Make BoundMethodType
a salsa interned (#17581)
This commit is contained in:
parent
0a1f9d090e
commit
5407249467
1 changed files with 1 additions and 1 deletions
|
@ -6223,7 +6223,7 @@ impl KnownFunction {
|
|||
/// on an instance of a class. For example, the expression `Path("a.txt").touch` creates
|
||||
/// a bound method object that represents the `Path.touch` method which is bound to the
|
||||
/// instance `Path("a.txt")`.
|
||||
#[salsa::tracked(debug)]
|
||||
#[salsa::interned(debug)]
|
||||
pub struct BoundMethodType<'db> {
|
||||
/// The function that is being bound. Corresponds to the `__func__` attribute on a
|
||||
/// bound method object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue