fix [#28356] Import export STL files, problem in script in version r39307

& correct some bad comments.
This commit is contained in:
2011-08-24 14:22:41 +00:00
parent f9bffb3ca0
commit 82e622f158
3 changed files with 12 additions and 7 deletions

View File

@@ -4320,7 +4320,6 @@ static PyObject *small_dict_get_item_string(PyObject *dict, const char *key_look
Py_ssize_t pos = 0;
PyObject *value = NULL;
/* case not, search for it in the script's global dictionary */
while (PyDict_Next(dict, &pos, &key, &value)) {
if(PyUnicode_Check(key)) {
if(strcmp(key_lookup, _PyUnicode_AsString(key))==0) {