What does -> mean in Python function definitions? I’ve recently noticed something interesting when looking at Python 3.3 grammar specification: funcdef: 'def' NAME parameters ['->' test] ':' suite The optional ‘arrow’ block was absent in Python 2... April 21, 2022 0 Comments