You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See reproduction link below.
Note that func2 and func3 fold correctly, but func1 does not.
Also, in JupyterLab with the same code in the line:
deffunc1(*args: tuple[int]) ->int:
the '>' character is highlighted differently than '-', so perhaps it's being parsed as a 'less-than' symbol instead of part of a return value type annotation. You can't see that in the online CodeMirror sandbox, though.