class_docstr: An AttrTree offers convenient, multi-level attribute access for
  collections of objects. AttrTree objects may also be combined
  together using the update method or merge classmethod. Here is an
  example of adding a ViewableElement to an AttrTree and accessing it:
  
  >>> t = AttrTree()
  >>> t.Example.Path = 1
  >>> t.Example.Path                             #doctest: +ELLIPSIS
  1
class_docstr_tok: ["An","AttrTree","offers","convenient",",","multi-level","attribute","access","for","collections","of","objects",".","AttrTree","objects","may","also","be","combined","together","using","the","update","method","or","merge","classmethod",".","Here","is","an","example","of","adding","a","ViewableElement","to","an","AttrTree","and","accessing","it",":",">",">",">","t","=","AttrTree","(",")",">",">",">","t.Example.Path","=","1",">",">",">","t.Example.Path","#","doctest",":","+ELLIPSIS","1"]
docstr: Pop a node of the AttrTree using its path string.
  
  Args:
      identifier: Path string of the node to return
      default: Value to return if no node is found
  
  Returns:
      The node that was removed from the AttrTree
docstr_tok: ["Pop","a","node","of","the","AttrTree","using","its","path","string",".","Args",":","identifier",":","Path","string","of","the","node","to","return","default",":","Value","to","return","if","no","node","is","found","Returns",":","The","node","that","was","removed","from","the","AttrTree"]
code: def pop(self, identifier, default=None):
      """Pop a node of the AttrTree using its path string.
  
      Args:
          identifier: Path string of the node to return
          default: Value to return if no node is found
  
      Returns:
          The node that was removed from the AttrTree
      """
      if identifier in self.children:
          item = self[identifier]
          self.__delitem__(identifier)
          return item
      else:
          return default
  
imports: from .None import util
  from .pprint import PrettyPrinter
label_desc: Use image node_id 24 for calling the AttrTree obj's underlying member method code with example usage: obj.pop(identifier, default) and returns: item, default