Cut some unused code in py cpp2 codegen
Cut some unused code in py cpp2 codegen

Summary: [Thrift] Cut some no-longer-used code in py cpp2 codegen.

Reviewed By: stevegury

Differential Revision: D9094642

fbshipit-source-id: 9a7e514a603e035882448f0ef7366da96d935311

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift