Skip to content

Proof of concept that swaps integers 8 and 9 on import

License

Notifications You must be signed in to change notification settings

kts/swap_8_and_9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

Proof of concept that swaps integers 8 and 9 on import

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published