Skip to content

Commit f3fc4e4

Browse files
committed
add missing SlotConstructor keyword on impl
Signed-off-by: snowapril <[email protected]>
1 parent 6d3289f commit f3fc4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/builtins/genericalias.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl SlotConstructor for PyGenericAlias {
5252
}
5353
}
5454

55-
#[pyimpl(with(Hashable, SlotGetattro), flags(BASETYPE))]
55+
#[pyimpl(with(Hashable, SlotConstructor, SlotGetattro), flags(BASETYPE))]
5656
impl PyGenericAlias {
5757
pub fn new(origin: PyTypeRef, args: PyObjectRef, vm: &VirtualMachine) -> Self {
5858
let args: PyTupleRef = if let Ok(tuple) = PyTupleRef::try_from_object(vm, args.clone()) {

0 commit comments

Comments
 (0)