class_docstr: Alternative to built-in StringIO needed to circumvent unicode/ascii issues
class_docstr_tok: ["Alternative","to","built-in","StringIO","needed","to","circumvent","unicode\/ascii","issues"]
code: def getvalue(self):
      return "".join(map(str, self.data)).encode("utf8")
  
imports: import os
  import re
  import subprocess
  import sys
  import time
  import warnings
  from .None import QtCore, QtGui, QtWidgets, compat
  from .None import internals
label_desc: Use image node_id 3 for calling the _StringIO obj's underlying member method code with example usage: obj.getvalue() and returns: str