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 af8cf46 commit 6a0d30aCopy full SHA for 6a0d30a
scripts/validate_docstrings.py
@@ -502,7 +502,7 @@ def validate_one(func_name):
502
if rel_name.startswith('pandas.'):
503
errs.append('{} in `See Also` section does not '
504
'need `pandas` prefix, use {} instead.'
505
- .format(rel_name, rel_name.replace('pandas.', '')))
+ .format(rel_name, rel_name[len('pandas.'):]))
506
for line in doc.raw_doc.splitlines():
507
if re.match("^ *\t", line):
508
errs.append('Tabs found at the start of line "{}", '
0 commit comments