summaryrefslogtreecommitdiff
path: root/tools/cwrap
diff options
context:
space:
mode:
authorDerek Kim <bluewhale8202@gmail.com>2019-01-08 20:53:11 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-01-08 20:55:35 -0800
commit3f6e58b43b458901500ee3ed9bd425d4932c9981 (patch)
tree415f761d1a86d339557e7fdfa2c22571fa6d7ad7 /tools/cwrap
parent1d6e818f2c49a4149893f1c316c2b49c30b3e4bf (diff)
downloadpytorch-3f6e58b43b458901500ee3ed9bd425d4932c9981.tar.gz
pytorch-3f6e58b43b458901500ee3ed9bd425d4932c9981.tar.bz2
pytorch-3f6e58b43b458901500ee3ed9bd425d4932c9981.zip
Typos fixed in CWrapPlugin.get_type_check (#15859)
Summary: Typos fixed in CWrapPlugin.get_type_check Pull Request resolved: https://github.com/pytorch/pytorch/pull/15859 Differential Revision: D13605908 Pulled By: soumith fbshipit-source-id: a8c970f0ac6d54dfd69b9775fc1a2b4f198b4ed6
Diffstat (limited to 'tools/cwrap')
-rw-r--r--tools/cwrap/plugins/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cwrap/plugins/__init__.py b/tools/cwrap/plugins/__init__.py
index 53789a0bed..9d956b8cb4 100644
--- a/tools/cwrap/plugins/__init__.py
+++ b/tools/cwrap/plugins/__init__.py
@@ -33,13 +33,13 @@ class CWrapPlugin(object):
Template('PyBool_Check($arg)')
- Note that the name of the identifier that will be subsituted must be
+ Note that the name of the identifier that will be substituted must be
$arg.
Args:
arg: a Python object with a 'type' field representing the type
to generate a check string for.
- option: dictionary containing the information for this specific
+ option: a dictionary containing the information for this specific
option.
Returns: