summaryrefslogtreecommitdiff
path: root/tools/cwrap
diff options
context:
space:
mode:
authorKento NOZAWA <k_nzw@klis.tsukuba.ac.jp>2018-04-08 01:41:15 +0900
committerSoumith Chintala <soumith@gmail.com>2018-04-07 12:41:15 -0400
commit3b58b859b2abbc84eb1f7073ded5452c4c3f4b41 (patch)
treec8f66f84db2314473a84ed850867d78cbe7b5b8d /tools/cwrap
parente9adbbba8258f6c7ad11d2e9943d93fca57697ee (diff)
downloadpytorch-3b58b859b2abbc84eb1f7073ded5452c4c3f4b41.tar.gz
pytorch-3b58b859b2abbc84eb1f7073ded5452c4c3f4b41.tar.bz2
pytorch-3b58b859b2abbc84eb1f7073ded5452c4c3f4b41.zip
Fix typos in docs (#6389)
Diffstat (limited to 'tools/cwrap')
-rw-r--r--tools/cwrap/plugins/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cwrap/plugins/__init__.py b/tools/cwrap/plugins/__init__.py
index 74ce79c17b..55bf333e5e 100644
--- a/tools/cwrap/plugins/__init__.py
+++ b/tools/cwrap/plugins/__init__.py
@@ -212,7 +212,7 @@ class CWrapPlugin(object):
'(PyObject*)Py_TYPE(PyTuple_GET_ITEM(args, 1)) == THPTensorClass'
- This function can be overriden to support modifying this check string.
+ This function can be overridden to support modifying this check string.
For example, if an argument can be null, we might want to check and see
if the type is Py_None, as well.