Re:Comprehensive Python Cheatsheet (2018)
by pizzaburek on Monday February 04, 2019 @07:42AM
(#19075826)
The whole cheatsheet is clearly in Python 3, where the same doc page that you linked states:
[ Parent
| on HN ]
Re:Comprehensive Python Cheatsheet (2018)
by detaro on Monday February 04, 2019 @08:08AM
(#19075993)
only specified as such since Python 3.7, which hadn't been released when this cheat sheet was written, at least if the date at the top is accurate.
EDIT: clicking through to GitHub, the date is clearly not up-to-date, so this might have been added later.