This was made for python3 in https://github.com/python/typeshed/pull/1291 but this is also the case on python2