MCPcopy Index your code
hub / github.com/python/cpython / visit_TryStar

Method visit_TryStar

Lib/_ast_unparse.py:372–378  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

370 self._in_try_star = prev_in_try_star
371
372 def visit_TryStar(self, node):
373 prev_in_try_star = self._in_try_star
374 try:
375 self._in_try_star = True
376 self.do_visit_try(node)
377 finally:
378 self._in_try_star = prev_in_try_star
379
380 def visit_ExceptHandler(self, node):
381 self.fill("except*" if self._in_try_star else "except", allow_semicolon=False)

Callers

nothing calls this directly

Calls 1

do_visit_tryMethod · 0.95

Tested by

no test coverage detected