Download for Windows Premium
Publiciteit
instruction With

Vertaling van "instruction With" in Engels

We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
with statement
L'utilisation de l'instruction With est extrêmement puissante.
Use of the with statement is extremely powerful.
Il est cependant conseillé de l'appeler explicitement ou d'utiliser l'instruction with.
However it is advisable to call it explicitly or use the with statement.
Un inconvénient supplémentaire est que l'instruction with peut entraîner de légères erreurs de logique que le compilateur ne détectera pas.
A further drawback is that using the with statement can allow subtle logical errors in the code that the compiler will not detect.
L'instruction with permet d'utiliser certains objets comme des fichiers d'une façon qui assure qu'ils seront toujours nettoyés rapidement et correctement.
The with statement allows objects like files to be used in a way that ensures they are always cleaned up promptly and correctly.
Lorsque vous êtes en train d'écrire du code compliqué, l'instruction with peut être efficace et vous épargner la déclaration de quelques variables temporaires, mais cela comporte un inconvénient.
When you are writing complex code, the with statement can be effective and spares you the declaration of some temporary variables, but it has a drawback.
Ça permet de changer le contexte courant dans le corps du with sans affecter le code en dehors de l'instruction with.
This allows changes to be made to the current decimal context in the body of the with statement without affecting code outside the with statement.
Un gestionnaire de contexte est un objet qui met en place un contexte prédéfini au moment de l'exécution de l'instruction with.
A context manager is an object that defines the runtime context to be established when executing a with statement.
Le code qui suivrait serait probablement très difficile à lire, parce que pour chaque propriété définie dans ce bloc vous devriez réfléchir pour savoir à quel composant il se réfère, en fonction des propriétés respectives et de l'ordre des composants dans l'instruction with.
The code following this would probably be highly unreadable, because for each property defined in this block you would need to think about which component it refers to, depending on the respective properties and the order of the components in the with statement.
Quand l'objet renvoyé est utilisé comme gestionnaire de contexte, l'attribut name sera lié au nom donné à la clause as de l'instruction with, si elle est spécifiée.
When the returned object is used as a context manager, the name will be assigned to the target of the as clause in the with statement, if there is one.
Si une exception est survenue lors de l'exécution du corps de l'instruction with, les arguments contiennent le type de l'exception, sa valeur, et la trace de la pile (traceback).
If an exception occurred while executing the body of the with statement, the arguments contain the exception type, value and traceback information. Otherwise, all three arguments are None.
L'instruction with suivante indique que l'objet Math est l'objet par défaut.
Using with The following with statement specifies that the Math object is the default object.
Si vous appelez f([1,2,3], obj) dans un environnement ECMAScript 5, la référence à values à l'intérieur de l'instruction with sera liée avec obj.
If you call f([1,2,3], obj) in an ECMAScript 5 environment, then the values reference inside the with statement will resolve to obj.
Les gestionnaires de contextes sont normalement invoqués en utilisant une instruction with (décrite dans la section L'instruction with), mais ils peuvent aussi être directement invoqués par leurs méthodes.
Context managers are normally invoked using the with statement (described in section The with statement), but can also be used by directly invoking their methods.
Er zijn geen resultaten gevonden voor deze term.
Ga naar Premium voor toegang tot miljoenen vertaalvoorbeelden, onbeperkt woorden opslaan en leren, zonder advertenties.

Synoniemen voor instruction With in het Frans

Publiciteit

Resultaten: 21. Exact: 21. Verstreken tijd: 31 ms.