Well, it's not actually IN python3, it have been added in python3.4 as part of contextlib module.