Repository navigation
Optimal Edit Paths Return Section Improved - #7375
Conversation
dschult
left a comment
There was a problem hiding this comment.
Thanks for this!
I have a very minor suggestion to split the insertion/deletion sentences into two sentences to make clear which is which. I also switch = to is because it is more like english (and python code comparison with None is supposed to use 'is'). But feel free to leave that as it is instead if you prefer.
Co-authored-by: Dan Schult <[email protected]>
Co-authored-by: Dan Schult <[email protected]>
Changing to is is indeed better for easier understanding. Thanks! |
rossbar
left a comment
There was a problem hiding this comment.
I took the liberty of updating the formatting to improve the rendered html, but the content itself LGTM. Thanks @vanshika230 !
* Optimal Edit Paths Return Section Improved * Update networkx/algorithms/similarity.py Co-authored-by: Dan Schult <[email protected]> * Update networkx/algorithms/similarity.py Co-authored-by: Dan Schult <[email protected]> * Update docstring formatting. --------- Co-authored-by: Dan Schult <[email protected]> Co-authored-by: Ross Barnowski <[email protected]>
Closes #7353.
I have improved the Returns section of the optimal_edit_paths function based on the discussion on issue #7353. I have also referred to the stackoverflow discussion here. Do let me know any improvement. Thankyou!