Typos fixed in CWrapPlugin.get_type_check (#15859)
authorDerek Kim <bluewhale8202@gmail.com>
Wed, 9 Jan 2019 04:53:11 +0000 (20:53 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 9 Jan 2019 04:55:35 +0000 (20:55 -0800)
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

tools/cwrap/plugins/__init__.py

index 53789a0..9d956b8 100644 (file)
@@ -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: dictionary containing the information for this specific
             option.
 
         Returns: