Skip to content

Commit 7c68ad8

Browse files
committed
Make ast.AST a basetype
1 parent cde42db commit 7c68ad8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vm/src/stdlib/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn get_node_field_opt(
4242
#[derive(Debug, PyValue)]
4343
pub(crate) struct AstNode;
4444

45-
#[pyimpl(flags(HAS_DICT))]
45+
#[pyimpl(flags(BASETYPE, HAS_DICT))]
4646
impl AstNode {
4747
#[pymethod(magic)]
4848
fn init(zelf: PyObjectRef, args: FuncArgs, vm: &VirtualMachine) -> PyResult<()> {

0 commit comments

Comments
 (0)