Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:
As Guido says, a full explanation will have to to a user-forum such as https://discuss.python.org/c/users/7 but consider this example and see if it gives you insight: def demo(): x = 1 return ( x - 1 ) print("This is not executed.") - (5 * x) and remember that `+` can also be a unary operator. ---------- nosy: +steven.daprano _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42895> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com