class_docstr: Internal - builds up text suitable for writing to a RECORD item, e.g.
  within a wheel.
class_docstr_tok: ["Internal","-","builds","up","text","suitable","for","writing","to","a","RECORD","item",",","e.g",".","within","a","wheel","."]
docstr: Returns contents of the RECORD file. If `record_path` is
  specified we append a final line `<record_path>,,`; this can be
  used to include the RECORD file itself in the contents, with
  empty hash and size fields.
docstr_tok: ["Returns","contents","of","the","RECORD","file",".","If","`","record_path","`","is","specified","we","append","a","final","line","`","<","record_path",">",",",",","`",";","this","can","be","used","to","include","the","RECORD","file","itself","in","the","contents",",","with","empty","hash","and","size","fields","."]
code: def get(self, record_path=None):
      """
      Returns contents of the RECORD file. If `record_path` is
      specified we append a final line `<record_path>,,`; this can be
      used to include the RECORD file itself in the contents, with
      empty hash and size fields.
      """
      ret = self.text
      if record_path:
          ret += f"{record_path},,\n"
      return ret
  
imports: import base64
  import glob
  import hashlib
  import inspect
  import io
  import os
  import platform
  import re
  import shutil
  import site
  import setuptools
  import subprocess
  import sys
  import sysconfig
  import tarfile
  import textwrap
  import time
  import zipfile
  import wdev
label_desc: Use image node_id 4 for calling the _Record obj's underlying member method code with example usage: obj.get(record_path) and returns: ret