def have_qstring():
 return (not ((sys.version_info.major >= 3) or QT_VERSION_STR.startswith('5.')))

def have_qstring ( ) : return ( not ( ( sys . version_info . major >= 3 ) or QT_VERSION_STR . startswith ( '5.' ) ) )
p3/qt5 get rid of qstring wrapper as py3 has native unicode str type .