class_docstr: Abstract base class for implementing the file system path protocol.
class_docstr_tok: ["Abstract","base","class","for","implementing","the","file","system","path","protocol","."]
code: def __subclasshook__(cls, subclass):
      return bool(
          hasattr(subclass, "__fspath__")
          # workaround for Python 3.5
          or pathlib
          and issubclass(subclass, pathlib.Path)
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import abc
  import os
  from io import open
  import sys
label_desc: Use image node_id 2 for calling the _PathLike obj's underlying member method code with example usage: obj.__subclasshook__(cls, subclass) and returns: bool