◐ Shell
clean mode source ↗

Message 208796 - Python tracker

That wasn't quite what I meant. "def (a, b, c)" *looks* like Python syntax (aside from the missing function name), but "def (a, b, c, /)" does not. So I consider "def " a misleading prefix.

By contrast, neither of these looks like it is trying to be a valid function header, while still hinting strongly that it is signature related:

"sig: (a, b, c)"
"sig: (a, b, c, /)"

I would also be fine with "sig=" (since humans shouldn't be reading this regardless):

"sig=(a, b, c)"
"sig=(a, b, c, /)"