Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61ec2bf

Browse files
committed
Minor typo fixes
1 parent 167be85 commit 61ec2bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/sphinxext/missing_references.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_location(node, app):
101101
# We locate references relative to the parent of the doc
102102
# directory, which for matplotlib, will be the root of the
103103
# matplotlib repo. When matplotlib is not an editable install
104-
# wierd things will happen, but we can't totally recover from
104+
# weird things will happen, but we can't totally recover from
105105
# that.
106106
basepath = Path(app.srcdir).parent.resolve()
107107

@@ -193,7 +193,7 @@ def _write_missing_references_json(records, json_path):
193193
"""
194194
Convert ignored references to a format which we can write as JSON
195195
196-
Convert from ``{(domain_type, target): locaitons}`` to
196+
Convert from ``{(domain_type, target): locations}`` to
197197
``{domain_type: {target: locations}}`` since JSON can't serialize tuples.
198198
"""
199199
transformed_records = defaultdict(dict)

0 commit comments

Comments
 (0)