diff options
author | Mark Spruiell <mes@zeroc.com> | 2013-01-24 09:47:37 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2013-01-24 09:47:37 -0800 |
commit | 7ee4fbdab347c1e5db15febcc3c19e9b40525508 (patch) | |
tree | 0b1f996808911cf9b155e655456c57025c6736ea /cpp/src/Slice/PythonUtil.cpp | |
parent | minor fix to TestUil.py (diff) | |
download | ice-7ee4fbdab347c1e5db15febcc3c19e9b40525508.tar.bz2 ice-7ee4fbdab347c1e5db15febcc3c19e9b40525508.tar.xz ice-7ee4fbdab347c1e5db15febcc3c19e9b40525508.zip |
ICE-5203 - add self to Python keywords
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r-- | cpp/src/Slice/PythonUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 9ab5d9acffd..911094a909b 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -185,7 +185,7 @@ lookupKwd(const string& name) { "None", "and", "assert", "break", "class", "continue", "def", "del", "elif", "else", "except", "exec", "finally", "for", "from", "global", "if", "import", "in", "is", "lambda", "not", "or", "pass", - "print", "raise", "return", "try", "while", "yield" + "print", "raise", "return", "self", "try", "while", "yield" }; bool found = binary_search(&keywordList[0], &keywordList[sizeof(keywordList) / sizeof(*keywordList)], |