Python 3 Docs compatibility