nac3artiq: remove unnecessary python print from helper
This commit is contained in:
parent
9406a645c7
commit
eb1f353acd
|
@ -44,7 +44,6 @@ struct PythonHelper<'a> {
|
||||||
origin_ty_fn: &'a PyAny,
|
origin_ty_fn: &'a PyAny,
|
||||||
args_ty_fn: &'a PyAny,
|
args_ty_fn: &'a PyAny,
|
||||||
globals_dict: &'a PyAny,
|
globals_dict: &'a PyAny,
|
||||||
print_fn: &'a PyAny,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Resolver {
|
impl Resolver {
|
||||||
|
@ -660,7 +659,6 @@ impl SymbolResolver for Resolver {
|
||||||
args_ty_fn: typings.getattr("get_args").unwrap(),
|
args_ty_fn: typings.getattr("get_args").unwrap(),
|
||||||
globals_dict: obj.getattr("__dict__").unwrap(),
|
globals_dict: obj.getattr("__dict__").unwrap(),
|
||||||
eval_type_fn: typings.getattr("_eval_type").unwrap(),
|
eval_type_fn: typings.getattr("_eval_type").unwrap(),
|
||||||
print_fn: builtins.getattr("print").unwrap(),
|
|
||||||
};
|
};
|
||||||
sym_ty = self.get_obj_type(
|
sym_ty = self.get_obj_type(
|
||||||
member.get_item(1)?,
|
member.get_item(1)?,
|
||||||
|
@ -710,7 +708,6 @@ impl SymbolResolver for Resolver {
|
||||||
args_ty_fn: typings.getattr("get_args").unwrap(),
|
args_ty_fn: typings.getattr("get_args").unwrap(),
|
||||||
globals_dict: obj.getattr("__dict__").unwrap(),
|
globals_dict: obj.getattr("__dict__").unwrap(),
|
||||||
eval_type_fn: typings.getattr("_eval_type").unwrap(),
|
eval_type_fn: typings.getattr("_eval_type").unwrap(),
|
||||||
print_fn: builtins.getattr("print").unwrap(),
|
|
||||||
};
|
};
|
||||||
sym_value = self.get_obj_value(val, &helper, ctx)?;
|
sym_value = self.get_obj_value(val, &helper, ctx)?;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue