summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-10 10:38:28 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-10 10:38:28 (GMT)
commitfcc8a0f0f561af9cf4c7975691a883ff401f3401 (patch)
treecdd1006b9860397cf99efb9828ebc1c46b94fde1 /Mac
parentad6a99c0111a9291b5b0c09507cd821e9c4937fb (diff)
downloadcpython-fcc8a0f0f561af9cf4c7975691a883ff401f3401.zip
cpython-fcc8a0f0f561af9cf4c7975691a883ff401f3401.tar.gz
cpython-fcc8a0f0f561af9cf4c7975691a883ff401f3401.tar.bz2
Correct spelling in documentation and code comments
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Demo/textedit.html2
-rw-r--r--Mac/Modules/res/_Resmodule.c2
-rw-r--r--Mac/Modules/res/ressupport.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Demo/textedit.html b/Mac/Demo/textedit.html
index fcd8c97..e7b76ae 100644
--- a/Mac/Demo/textedit.html
+++ b/Mac/Demo/textedit.html
@@ -24,7 +24,7 @@ the main event handling code. Normal use is to override the <code>__init__</code
to do your own initializations and override <code>makeusermenus</code> to create your menus
(your menu callback routines may be here too, but this is by no means necessary).
The event handling code can be overridden at various levels, from very low-level (the
-<code>dispatch</code> method) to intermedeate level (<code>do_keyDown</code>, for instance)
+<code>dispatch</code> method) to intermediate level (<code>do_keyDown</code>, for instance)
to high-level (<code>do_key</code>). The application class knows about the <code>Window</code>
objects you create, and will forward events to the appropriate window (So, normally you
would have a <code>do_key</code> method in your window object, not your application object).
diff --git a/Mac/Modules/res/_Resmodule.c b/Mac/Modules/res/_Resmodule.c
index f5824b1..7f54586 100644
--- a/Mac/Modules/res/_Resmodule.c
+++ b/Mac/Modules/res/_Resmodule.c
@@ -551,7 +551,7 @@ static int ResObj_set_data(ResourceObject *self, PyObject *v, void *closure)
HLock(self->ob_itself);
memcpy((char *)*self->ob_itself, data, size);
HUnlock(self->ob_itself);
- /* XXXX Should I do the Changed call immedeately? */
+ /* XXXX Should I do the Changed call immediately? */
return 0;
return 0;
diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py
index 9e42a45..899ddc0 100644
--- a/Mac/Modules/res/ressupport.py
+++ b/Mac/Modules/res/ressupport.py
@@ -125,7 +125,7 @@ class ResDefinition(PEP253Mixin, GlobalObjectDefinition):
HLock(self->ob_itself);
memcpy((char *)*self->ob_itself, data, size);
HUnlock(self->ob_itself);
- /* XXXX Should I do the Changed call immedeately? */
+ /* XXXX Should I do the Changed call immediately? */
return 0;
""",
'The resource data'