Questenaتدريب يوضح لك ما ينبغي مراجعته لاحقًا
السؤال 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 siteالإجابة الصحيحة
  4. In an unspecified order that changes each run

الشرح

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.

تابع هذا الاختبار

بدء التدريب
السؤال 87: A traceback contains several call frames. In what order are… · Python Fundamentals · Questena