(node)
| 548 | FSTRING_CONVERSION_MAP = {1: "!s", 2: "!r", 3: "!a", "X": ":X"} |
| 549 | |
| 550 | def n_except_suite_finalize(node): |
| 551 | if node[1] == "returns" and self.hide_internal: |
| 552 | # Process node[1] only. |
| 553 | # The code after "returns", e.g. node[3], is dead code. |
| 554 | # Adding it is wrong as it dedents and another |
| 555 | # exception handler "except_stmt" afterwards. |
| 556 | # Note it is also possible that the grammar is wrong here. |
| 557 | # and this should not be "except_stmt". |
| 558 | self.indent_more() |
| 559 | self.preorder(node[1]) |
| 560 | self.indent_less() |
| 561 | else: |
| 562 | self.default(node) |
| 563 | self.prune() |
| 564 | |
| 565 | self.n_except_suite_finalize = n_except_suite_finalize |
| 566 |
nothing calls this directly
no test coverage detected