forked from Rust-related/RustPython
Make ast.AST a basetype
This commit is contained in:
@@ -42,7 +42,7 @@ fn get_node_field_opt(
|
||||
#[derive(Debug, PyValue)]
|
||||
pub(crate) struct AstNode;
|
||||
|
||||
#[pyimpl(flags(HAS_DICT))]
|
||||
#[pyimpl(flags(BASETYPE, HAS_DICT))]
|
||||
impl AstNode {
|
||||
#[pymethod(magic)]
|
||||
fn init(zelf: PyObjectRef, args: FuncArgs, vm: &VirtualMachine) -> PyResult<()> {
|
||||
|
||||
Reference in New Issue
Block a user