Message384863
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. |
|
Date |
User |
Action |
Args |
2021-01-11 20:37:16 | steven.daprano | set | recipients:
+ steven.daprano, gvanrossum, JD-Veiga |
2021-01-11 20:37:16 | steven.daprano | set | messageid: <1610397436.92.0.687316991046.issue42895@roundup.psfhosted.org> |
2021-01-11 20:37:16 | steven.daprano | link | issue42895 messages |
2021-01-11 20:37:16 | steven.daprano | create | |
|