class_docstr: shared implementation for filesystem path objects.
docstr: basename part of path. 
docstr_tok: ["basename","part","of","path","."]
code: def basename(self):
      """basename part of path."""
      return self._getbyspec("basename")[0]
  
imports: import warnings
  import os
  import sys
  import posixpath
  import fnmatch
  import py
label_desc: Use image node_id 2 for calling the PathBase obj's underlying member method code with example usage: obj.basename() and returns: self