Show More
@@ -126,7 +126,12 b' py_class!(pub class LazyAncestors |py| {' | |||
|
126 | 126 | py_class!(pub class MissingAncestors |py| { |
|
127 | 127 | data inner: RefCell<Box<CoreMissing<Index>>>; |
|
128 | 128 | |
|
129 | def __new__(_cls, index: PyObject, bases: PyObject) -> PyResult<MissingAncestors> { | |
|
129 | def __new__( | |
|
130 | _cls, | |
|
131 | index: PyObject, | |
|
132 | bases: PyObject | |
|
133 | ) | |
|
134 | -> PyResult<MissingAncestors> { | |
|
130 | 135 | let bases_vec: Vec<Revision> = rev_pyiter_collect(py, &bases)?; |
|
131 | 136 | let inner = CoreMissing::new(pyindex_to_graph(py, index)?, bases_vec); |
|
132 | 137 | MissingAncestors::create_instance(py, RefCell::new(Box::new(inner))) |
General Comments 0
You need to be logged in to leave comments.
Login now