/swap_8_and_9

Proof of concept that swaps integers 8 and 9 on import

Primary LanguageCMIT LicenseMIT

swap_8_and_9

Proof of concept that swaps integers 8 and 9 on import

Described in the blog post https://kenschutte.com/python-swap-ints/

>>> print(8)
8
>>> import swap_8_and_9
>>> print(8)
9
>>> print(list(range(10)))
[0, 1, 2, 3, 4, 5, 6, 7, 9, 8]