Issue #16076: check for return value of PyTuple_New for args (following Coverity report) and cleanup code.
Issue #16076: check for return value of PyTuple_New for args (following
Coverity report) and cleanup code.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator