Skip to content

Commit 962b365

Browse files
committed
clean up genericalias
1 parent 7172426 commit 962b365

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
@@ -179,7 +179,7 @@ impl PyGenericAlias {
179179
}
180180

181181
#[pymethod(magic)]
182-
fn reduce(zelf: PyRef<Self>, vm: &VirtualMachine) -> (PyTypeRef, (PyTypeRef, PyTupleRef)) {
182+
fn reduce(zelf: &Py<Self>, vm: &VirtualMachine) -> (PyTypeRef, (PyTypeRef, PyTupleRef)) {
183183
(
184184
vm.ctx.types.generic_alias_type.to_owned(),
185185
(zelf.origin.clone(), zelf.args.clone()),

0 commit comments

Comments
 (0)