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 0209430 commit 67ed7f4Copy full SHA for 67ed7f4
scripts/validate_docstrings.py
@@ -511,7 +511,7 @@ def validate_one(func_name):
511
if rel_name.startswith('pandas.'):
512
errs.append('{} in `See Also` section does not '
513
'need `pandas` prefix, use {} instead.'
514
- .format(rel_name, rel_name.replace('pandas.', '')))
+ .format(rel_name, rel_name[len('pandas.'):]))
515
for line in doc.raw_doc.splitlines():
516
if re.match("^ *\t", line):
517
errs.append('Tabs found at the start of line "{}", '
0 commit comments