(try_except_infos)
| 318 | ) |
| 319 | |
| 320 | def update_try_except_infos(try_except_infos): |
| 321 | for try_except_info in try_except_infos: |
| 322 | # On 3.7/3.8 the last bytecode actually has a different start line. |
| 323 | if try_except_info.except_end_line in (7, 8): |
| 324 | try_except_info.except_end_line = 9 |
| 325 | |
| 326 | try_except_info_for_source = '[{try:1 except 6 end block 10}, {try:2 except 4 end block 5 raises: 5}]' |
| 327 | if sys.version_info[:2] <= (3, 7): |