From 3f6e58b43b458901500ee3ed9bd425d4932c9981 Mon Sep 17 00:00:00 2001 From: Derek Kim Date: Tue, 8 Jan 2019 20:53:11 -0800 Subject: [PATCH] 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 --- tools/cwrap/plugins/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cwrap/plugins/__init__.py b/tools/cwrap/plugins/__init__.py index 53789a0..9d956b8 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: -- 2.7.4