class_docstr: shared implementation for filesystem path objects.
docstr: return the directory path joined with any given path arguments.  
docstr_tok: ["return","the","directory","path","joined","with","any","given","path","arguments","."]
code: def dirpath(self, *args, **kwargs):
      """return the directory path joined with any given path arguments."""
      return self.new(basename="").join(*args, **kwargs)
  
imports: import warnings
  import os
  import sys
  import posixpath
  import fnmatch
  import py
label_desc: Use image node_id 6 for calling the PathBase obj's underlying member method code with example usage: obj.dirpath() and returns: self