Si une variable n'est pas définie dans le corps d'une fonction, Python ira chercher dans un environnement parent.
If a variable is not defined in the body of a function, Python will search in a parent environment.
Si on définit une fonction à l'intérieur d'une autre fonction, et qu'on appelle une variable non définie dans le corps de cette fonction, Python ira chercher dans l'environnement directement supérieur.
If we define a function within another function, and call a variable not defined in the body of that function, Python will search in the directly superior environment.
Other results
À cause de ceux-ci, le nouveau Python n'ira pas dans la distribution testing.
Due to this the new Python doesn't make it into the testing distribution.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.