Python3 support for dependant_autocomplete example