Misc. documentation and source comment typo fixes

Found via `codespell -q 3 -L uint,od,objext,ba,cmo,bae,ans,struc,fo,clos,goin,upto,thru`
Revert changes in previous commit
This commit is contained in:
luz.paz 2019-05-25 07:44:02 -04:00 committed by Olly Betts
commit 87695dacb1
9 changed files with 10 additions and 10 deletions

View file

@ -3031,7 +3031,7 @@ virtual int functionWrapper(Node *n) {
/* Close the function(error) */
Printv(wrapper->code, "return ERROR;\n", "}\n", NIL);
/* final substititions if applicable */
/* final substitutions if applicable */
...
/* Dump the function out */

View file

@ -607,7 +607,7 @@ be checked dynamically.
<p>
In order to use C++ templates in Go, you must tell SWIG to create
wrappers for a particular template instantation. To do this, use
wrappers for a particular template instantiation. To do this, use
the <tt>%template</tt> directive.

View file

@ -4002,7 +4002,7 @@ class Go(object):
<p>
The class defines each method in two different ways. The first definition is replaced by the second definition and so the second definition is the one used when the method is called.
While this possibly provides the best of both worlds, the time to import the module will be slighly slower when the class is defined due to the additional method definitions.
While this possibly provides the best of both worlds, the time to import the module will be slightly slower when the class is defined due to the additional method definitions.
</p>
<p>