Fix commit précédent
Pylint me l'avait gentilment fait remarquer mais c'était innondé sous les avertissements 'already defined from outerscope'...
This commit is contained in:
parent
55875d7abf
commit
dd91bd7d48
|
@ -453,7 +453,7 @@ def liste_possibilites(arbre, precede):
|
||||||
for i in arbre:
|
for i in arbre:
|
||||||
if type(arbre[i]) == dict:
|
if type(arbre[i]) == dict:
|
||||||
possibilites = possibilites + \
|
possibilites = possibilites + \
|
||||||
arbre_vers_liste(arbre[i], precede + [i])
|
liste_possibilites(arbre[i], precede + [i])
|
||||||
elif arbre[i] == None:
|
elif arbre[i] == None:
|
||||||
possibilites = possibilites + [precede + [i]]
|
possibilites = possibilites + [precede + [i]]
|
||||||
return possibilites
|
return possibilites
|
||||||
|
|
Reference in a new issue