File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
python-checks/src/main/resources/org/sonar/l10n/py/rules/python Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11< p > Python 3.11 introduced < code > except*</ code > and < code > ExceptionGroup</ code > . While it’s possible to catch the ExceptionGroup and BaseExceptionGroup
2- types with < code > except`</ code > , a Runtime error will be raised when this is done with < code > except*</ code > .</ p >
2+ types with < code > except`</ code > , a Runtime error will be raised when this is done with < code > except*</ code > . See PEP 654 : < a
3+ href ="https://peps.python.org/pep-0654/#forbidden-combinations "> PEP-654</ a > </ p >
34< h2 > Noncompliant Code Example</ h2 >
45< pre >
56try:
Original file line number Diff line number Diff line change 33 "languages" : [
44 " PY"
55 ],
6- "latest-update" : " 2022-12-08T09:58:09.170573Z " ,
6+ "latest-update" : " 2022-12-08T15:46:58.221207200Z " ,
77 "options" : {
88 "no-language-in-filenames" : true ,
99 "preserve-filenames" : true
You can’t perform that action at this time.
0 commit comments