Skip to content

Commit 6e36959

Browse files
committed
Fix boundmethod not to have __dict__
1 parent f5ccd4f commit 6e36959

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

vm/src/builtins/function.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -732,10 +732,7 @@ impl PyBoundMethod {
732732
}
733733
}
734734

735-
#[pyclass(
736-
with(Callable, Comparable, GetAttr, Constructor, Representable),
737-
flags(HAS_DICT)
738-
)]
735+
#[pyclass(with(Callable, Comparable, GetAttr, Constructor, Representable))]
739736
impl PyBoundMethod {
740737
#[pymethod]
741738
fn __reduce__(

0 commit comments

Comments
 (0)