We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f6842 commit 20decf6Copy full SHA for 20decf6
numpydoc/numpydoc.py
@@ -47,8 +47,6 @@ def rename_references(app, what, name, obj, options, lines,
47
if m:
48
references.append(m.group(1))
49
50
- # start renaming from the longest string, to avoid overwriting parts
51
- references.sort(key=lambda x: -len(x))
52
if references:
53
for i, line in enumerate(lines):
54
for r in references:
0 commit comments