Add documentation for a pymethod in map.rs
@@ -42,6 +42,7 @@ impl PyMap {
.into_ref_with_type(vm, cls)
}
+ /// Return an estimate of the number of items.
#[pymethod(magic)]
fn length_hint(&self, vm: &VirtualMachine) -> PyResult<usize> {
self.iterators.iter().try_fold(0, |prev, cur| {
