<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def glob(self, pattern):
 """ Return a list of path objects that match the pattern. pattern - a path relative to this directory, with wildcards. For example, ``path('/users').glob('*/bin/*')`` returns a list of all the files users have in their bin directories. """

        cls = self.__class__
        return [cls(s) for s in glob.glob(_base(self / pattern))]