There's nothing specific about this related to Python, that's just demonstrating how it works.
This is usable anywhere on an affected Kernel version