One typo which was already there but can be corrected in the same time: s/More then/More than/
Otherwise it seems good to me, if we consider that we have to take the first partner found when more than one is found.
Maybe it deserves a comment in the docstring as it may be misleading?
One typo which was already there but can be corrected in the same time: s/More then/More than/
Otherwise it seems good to me, if we consider that we have to take the first partner found when more than one is found.
Maybe it deserves a comment in the docstring as it may be misleading?
Though, you can merge as is.