class_docstr: shared implementation for filesystem path objects.
docstr: return the common part shared with the other path
  or None if there is no common part.
docstr_tok: ["return","the","common","part","shared","with","the","other","path","or","None","if","there","is","no","common","part","."]
code: def common(self, other):
      """return the common part shared with the other path
      or None if there is no common part.
      """
      last = None
      for x, y in zip(self.parts(), other.parts()):
          if x != y:
              return last
          last = x
      return last
  
imports: import warnings
  import os
  import sys
  import posixpath
  import fnmatch
  import py
label_desc: Use image node_id 23 for calling the PathBase obj's underlying member method code with example usage: obj.common(other) and returns: last, last