For the next part of my blog series on pulling apart Python's syntactic sugar
[https://snarky.ca/tag/syntactic-sugar/], I'm going to be tackling rich comparison
operators: ==, !=, >, <
In this entire blog series on Python's syntactic sugar
[https://snarky.ca/tag/syntactic-sugar/], this might end up being the most boring
post. 😄 We will cover the unary arithmetic operators: -,
Prologue
This post is part of a series on Python's syntactic sugar. The latest source code can be found as part of the desugar project.
Introduction
Python has something called augmented
[This post has been updated multiple times since it's initial posting; see the Corrections section at the end for what was changed.]
The reaction to my blog post on unravelling attribute
I wonder how many people realize that Python has a lot of syntactic sugar
[https://en.wikipedia.org/wiki/Syntactic_sugar]? I'm not claiming it's like a
Lisp-based language