Merge pull request #1884 from timgates42/bugfix_typo_replace

docs: fix simple typo, repalce -> replace
This commit is contained in:
Robin Dunn
2021-01-05 12:45:45 -08:00
committed by GitHub

View File

@@ -691,7 +691,7 @@ def postProcess(folder, options):
next_line = splitted_text[index+1]
stripline = next_line.strip()
# repalce the <hr> with a new headline for the first method or first property
# replace the <hr> with a new headline for the first method or first property
if (stripline == '<dl class="staticmethod">' or stripline == '<dl class="method">' \
or stripline == '<dl class="classmethod">') and not methods_done:
line = '\n<br><h3>Methods<a class="headerlink" href="#methods" title="Permalink to this headline">¶</a></h3>\n'