Skip to content

Commit bd02bf7

Browse files
authored
Merge pull request #222 from luzpaz/trivial-typo-fixes
MAINT: fix trivial source comment typos
2 parents 2fa5256 + 8dfe098 commit bd02bf7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ numpydoc_xref_param_type : bool
5454
``False`` by default.
5555

5656
.. note:: Depending on the link types, the CSS styles might be different.
57-
consider overridding e.g. ``span.classifier a span.xref`` and
57+
consider overriding e.g. ``span.classifier a span.xref`` and
5858
``span.classifier a code.docutils.literal.notranslate``
5959
CSS classes to achieve a uniform appearance.
6060

numpydoc/numpydoc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def clean_backrefs(app, doc, docname):
139139
for id_ in ref['ids']:
140140
known_ref_ids.add(id_)
141141
for citation_node in doc.traverse(citation, descend=True):
142-
# remove backrefs to non-existant refs
142+
# remove backrefs to non-existent refs
143143
citation_node['backrefs'] = [id_ for id_ in citation_node['backrefs']
144144
if id_ in known_ref_ids]
145145

numpydoc/xref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _split_and_apply_re(s, pattern):
141141
else:
142142
res = make_xref(
143143
tok, xref_aliases, xref_ignore)
144-
# Openning brackets immediated after a role is
144+
# Opening brackets immediately after a role is
145145
# bad markup. Detect that and add backslash.
146146
# :role:`type`( to :role:`type`\(
147147
if res and res[-1] == '`' and i < n-1:

0 commit comments

Comments
 (0)