summaryrefslogtreecommitdiff
path: root/Examples/python
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2014-02-23 16:52:08 +1300
committerOlly Betts <olly@survex.com>2014-02-23 17:15:22 +1300
commit2f3bf144c685585dab7d4d8ae1ae805dda0edab8 (patch)
tree611f6542d86afedc55da13999b180f5e9efe5e0c /Examples/python
parent894de07c3d676268cbfc83cf92e0bd6e7850e2dc (diff)
downloadswig-2f3bf144c685585dab7d4d8ae1ae805dda0edab8.tar.gz
Fix assorted comment and documentation typos
Diffstat (limited to 'Examples/python')
-rw-r--r--Examples/python/callback/runme.py2
-rw-r--r--Examples/python/multimap/example.i2
2 files changed, 2 insertions, 2 deletions
diff --git a/Examples/python/callback/runme.py b/Examples/python/callback/runme.py
index 026e9520b..ddb668407 100644
--- a/Examples/python/callback/runme.py
+++ b/Examples/python/callback/runme.py
@@ -42,7 +42,7 @@ print
print "Adding and calling another Python callback"
print "------------------------------------------"
-# Lets do the same but use the weak reference this time.
+# Let's do the same but use the weak reference this time.
callback = PyCallback().__disown__()
caller.setCallback(callback)
diff --git a/Examples/python/multimap/example.i b/Examples/python/multimap/example.i
index 3f6fc3db3..cc2482cc8 100644
--- a/Examples/python/multimap/example.i
+++ b/Examples/python/multimap/example.i
@@ -98,7 +98,7 @@ extern int count(char *bytes, int len, char c);
/* This example shows how to wrap a function that mutates a string */
/* Since str is modified, we make a copy of the Python object
- so that we don't violate it's mutability */
+ so that we don't violate its mutability */
%typemap(in) (char *str, int len) {
%#if PY_VERSION_HEX >= 0x03000000