0_0 # Python >= 3.6 is required
(https://github.com/jwilk/abmagick/blob/8959fe7c390283d095e42...)Highly cursed, yet wildly creative way of asserting the language version.
Support for underscores in numeric literals landed in 3.6 (PEP-515), < 3.6 chokes on the underscore and raises a syntax error instead.
See also related:
"What the fuck Python?"
https://github.com/satwikkansal/wtfpython
Along with the corresponding HN discussion:
https://news.ycombinator.com/item?id=31566031 (450 points, 153 comments)