Skip to content

Commit 6a0d30a

Browse files
committed
Made changes as recommended
1 parent af8cf46 commit 6a0d30a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate_docstrings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def validate_one(func_name):
502502
if rel_name.startswith('pandas.'):
503503
errs.append('{} in `See Also` section does not '
504504
'need `pandas` prefix, use {} instead.'
505-
.format(rel_name, rel_name.replace('pandas.', '')))
505+
.format(rel_name, rel_name[len('pandas.'):]))
506506
for line in doc.raw_doc.splitlines():
507507
if re.match("^ *\t", line):
508508
errs.append('Tabs found at the start of line "{}", '

0 commit comments

Comments
 (0)