Skip to content

Commit 26d5cfa

Browse files
author
florianlink
committed
fixed Python 2 build
git-svn-id: http://svn.code.sf.net/p/pythonqt/code/trunk@284 ea8d5007-eb21-0410-b261-ccb3ea6e24a9
1 parent f873031 commit 26d5cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PythonQtUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ namespace PythonQtUtils
8888
return PyType_Check(obj);
8989
#else
9090
// support old-style classes and new style classes
91-
return (value->ob_type == &PyClass_Type || value->ob_type == &PyType_Type);
91+
return (obj->ob_type == &PyClass_Type || obj->ob_type == &PyType_Type);
9292
#endif
9393
}
9494
}

0 commit comments

Comments
 (0)