QuestenaUn entraînement qui indique quoi revoir ensuite
Question 87

A traceback contains several call frames. In what order are ordinary frames presented as the display approaches the site where the exception arose?

  1. In alphabetical order by function name
  2. From the failure site back to the outermost call only
  3. From the outermost reported call toward the failure siteBonne réponse
  4. In an unspecified order that changes each run

Explication

The display proceeds from the outermost reported call toward progressively newer calls and ends at the most recent frame where the failure surfaced. Treating the earliest frame as the exact site ignores the call chain recorded below it.

Continuer avec ce test

Commencer l’entraînement
Question 87: A traceback contains several call frames. In what order are… · Python Fundamentals · Questena