code: def add_path(self, path):
          # type: (_BaseSourcePaths, str) -> None
          
          if isinstance(path, pathlib.Path):
              self._paths.append(path)
          else:
              self._paths.append(pathlib.Path(path))
docs: Add a local path
          :param _BaseSourcePaths self: this
          :param str path: path to add