summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2019-05-29 04:24:44 -0400
committerluz.paz <luzpaz@users.noreply.github.com>2019-05-29 04:24:44 -0400
commit8dfe0982136ec38883a88f3bbb0b2b60bbdff9a7 (patch)
tree86ffd26e53c47672206afaf80ff4d82dfdec4ffd
parent2fa5256d35cb75c5032e486a543271a420b6971c (diff)
downloadnumpydoc-8dfe0982136ec38883a88f3bbb0b2b60bbdff9a7.tar.gz
MAINT: fix trivial source comment typos
Found via `codespell`
-rw-r--r--doc/install.rst2
-rw-r--r--numpydoc/numpydoc.py2
-rw-r--r--numpydoc/xref.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/install.rst b/doc/install.rst
index 2d2c074..26b0bb7 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -54,7 +54,7 @@ numpydoc_xref_param_type : bool
``False`` by default.
.. note:: Depending on the link types, the CSS styles might be different.
- consider overridding e.g. ``span.classifier a span.xref`` and
+ consider overriding e.g. ``span.classifier a span.xref`` and
``span.classifier a code.docutils.literal.notranslate``
CSS classes to achieve a uniform appearance.
diff --git a/numpydoc/numpydoc.py b/numpydoc/numpydoc.py
index 0e96fad..5b8faa9 100644
--- a/numpydoc/numpydoc.py
+++ b/numpydoc/numpydoc.py
@@ -139,7 +139,7 @@ def clean_backrefs(app, doc, docname):
for id_ in ref['ids']:
known_ref_ids.add(id_)
for citation_node in doc.traverse(citation, descend=True):
- # remove backrefs to non-existant refs
+ # remove backrefs to non-existent refs
citation_node['backrefs'] = [id_ for id_ in citation_node['backrefs']
if id_ in known_ref_ids]
diff --git a/numpydoc/xref.py b/numpydoc/xref.py
index 6554220..a4ceaf9 100644
--- a/numpydoc/xref.py
+++ b/numpydoc/xref.py
@@ -141,7 +141,7 @@ def make_xref(param_type, xref_aliases, xref_ignore):
else:
res = make_xref(
tok, xref_aliases, xref_ignore)
- # Openning brackets immediated after a role is
+ # Opening brackets immediately after a role is
# bad markup. Detect that and add backslash.
# :role:`type`( to :role:`type`\(
if res and res[-1] == '`' and i < n-1: