format StmtTryStar (#5418)

This commit is contained in:
David Szotten 2023-06-29 07:07:33 +01:00 committed by GitHub
parent a973019358
commit ca5e10b5ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 205 additions and 23 deletions

View file

@ -70,3 +70,22 @@ try:
except:
a = 10 # trailing comment1
b = 11 # trailing comment2
# try/except*, mostly the same as try
try: # try
...
# end of body
# before except
except* (Exception, ValueError) as exc: # except line
...
# before except 2
except* KeyError as key: # except line 2
...
# in body 2
# before else
else:
...
# before finally
finally:
...