diff options
author | Olly Betts <olly@survex.com> | 2009-07-03 11:58:37 +0000 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2009-07-03 11:58:37 +0000 |
commit | 734dafd405a337d0ed7e134ccef1037732d61ad5 (patch) | |
tree | f4f76c3b8151c1b73c731fb4c66715650065a591 | |
parent | ea34de223fe312fddc39b86432e0f70d3b468682 (diff) | |
download | swig-734dafd405a337d0ed7e134ccef1037732d61ad5.tar.gz |
Fix grammar in comment and error message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r-- | Lib/python/std_map.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/python/std_map.i b/Lib/python/std_map.i index c93ffe61b..efe0e5e4c 100644 --- a/Lib/python/std_map.i +++ b/Lib/python/std_map.i @@ -23,8 +23,8 @@ if (PyDict_Check(obj)) { SwigVar_PyObject items = PyObject_CallMethod(obj,(char *)"items",NULL); %#if PY_VERSION_HEX >= 0x03000000 - /* In Python 3.x the ".items()" method return a dict_items object */ - items = PySequence_Fast(items, ".items() havn't returned a sequence!"); + /* In Python 3.x the ".items()" method returns a dict_items object */ + items = PySequence_Fast(items, ".items() didn't return a sequence!"); %#endif res = traits_asptr_stdseq<std::map<K,T>, std::pair<K, T> >::asptr(items, val); } else { |