class_docstr: Create a temporary python source code file.
class_docstr_tok: ["Create","a","temporary","python","source","code","file","."]
code: def __init__(self, source_code="", directory=None):
      self.source_code = source_code
      self.dir = directory
  
imports: from unittest import TestCase, mock
  import errno
  import os
  import tabnanny
  import tokenize
  import tempfile
  import textwrap
  from test.support import captured_stderr, captured_stdout, script_helper, findfile
  from test.support.os_helper import unlink
label_desc: Use image node_id 1 to create a new TemporaryPyFile object  with example: obj = TemporaryPyFile(source_code, directory)