code: def __str__(self):
      return f"{self.pformat(margin=60)} (p={self.prob():.6g})"
  
file_path: nltk/nltk/tree/probabilistic.py
imports: from nltk.internals import raise_unorderable_types
  from nltk.probability import ProbabilisticMixIn
  from nltk.tree.immutable import ImmutableProbabilisticTree
  from nltk.tree.tree import Tree
label_desc: Use image node_id 4 for calling the ProbabilisticTree obj's underlying member method code with example usage: obj.__str__() and returns: self, str, self, str