What does `return +/- ` do in python?
What does `return +/- ` do in python? Question: I was going through the CPython source code and I found the following piece of code from the standard library(ast.py). if isinstance(node.op, UAdd): return + operand else: return – operand I tried the following in my python interpreter >>> def s(): … return + 1 … …
Total answers: 4