class_docstr: A base class for all quantum object like operators and states.
class_docstr_tok: ["A","base","class","for","all","quantum","object","like","operators","and","states","."]
docstr: Printer for contents of QExpr
  
  Handles the printing of any unique identifying contents of a QExpr to
  print as its contents, such as any variables or quantum numbers. The
  default is to print the label, which is almost always the args. This
  should not include printing of any brackets or parentheses.
docstr_tok: ["Printer","for","contents","of","QExpr","Handles","the","printing","of","any","unique","identifying","contents","of","a","QExpr","to","print","as","its","contents",",","such","as","any","variables","or","quantum","numbers",".","The","default","is","to","print","the","label",",","which","is","almost","always","the","args",".","This","should","not","include","printing","of","any","brackets","or","parentheses","."]
code: def _print_contents(self, printer, *args):
      """Printer for contents of QExpr
  
      Handles the printing of any unique identifying contents of a QExpr to
      print as its contents, such as any variables or quantum numbers. The
      default is to print the label, which is almost always the args. This
      should not include printing of any brackets or parentheses.
      """
      return self._print_label(printer, *args)
  
imports: from sympy.core.expr import Expr
  from sympy.core.symbol import Symbol
  from sympy.core.sympify import sympify
  from sympy.matrices.dense import Matrix
  from sympy.printing.pretty.stringpict import prettyForm
  from sympy.core.containers import Tuple
  from sympy.utilities.iterables import is_sequence
  from sympy.physics.quantum.dagger import Dagger
  from sympy.physics.quantum.matrixutils import numpy_ndarray, scipy_sparse_matrix, to_sympy, to_numpy, to_scipy_sparse
label_desc: Use image node_id 19 for calling the QExpr obj's underlying member method code with example usage: obj._print_contents(printer) and returns: self