Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
compile fix
  • Loading branch information
arihant2math committed Apr 18, 2025
commit 8a41e959b4a6294ce0171f54124100a46bd63aa7
7 changes: 4 additions & 3 deletions vm/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1268,9 +1268,10 @@ impl ExecutingFrame<'_> {
}
bytecode::Instruction::ParamSpec => {
let param_spec_name = self.pop_value();
let param_spec: PyObjectRef = _typing::make_paramspec(param_spec_name.clone(), None)
.into_ref(&vm.ctx)
.into();
let param_spec: PyObjectRef =
_typing::make_paramspec(param_spec_name.clone())
.into_ref(&vm.ctx)
.into();
self.push_value(param_spec);
Ok(None)
}
Expand Down
2 changes: 1 addition & 1 deletion vm/src/stdlib/typing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub(crate) mod _typing {
Ok(vm.ctx.none())
}
}

#[pygetset(magic)]
fn name(&self) -> PyObjectRef {
self.name.clone()
Expand Down