Beispiel #1
0
 def contains_path(self, path, transform=None):
     """
     Returns True if this path completely contains the given path.
     """
     if transform is not None:
         transform = transform.frozen()
     return path_in_path(self, None, path, transform)
Beispiel #2
0
 def contains_path(self, path, transform=None):
     """
     Returns True if this path completely contains the given path.
     """
     if transform is not None:
         transform = transform.frozen()
     return path_in_path(self, None, path, transform)
Beispiel #3
0
 def contains_path(self, path, transform=None):
     """
     Returns *True* if this path completely contains the given path.
     If *transform* is not *None*, the path will be transformed
     before performing the test.
     """
     if transform is not None:
         transform = transform.frozen()
     return path_in_path(self, None, path, transform)
Beispiel #4
0
    def contains_path(self, path, transform=None):
        """
        Returns *True* if this path completely contains the given path.

        If *transform* is not *None*, the path will be transformed
        before performing the test.
        """
        if transform is not None:
            transform = transform.frozen()
        return _path.path_in_path(self, None, path, transform)
Beispiel #5
0
    def contains_path(self, path, transform=None):
        """
        Returns whether this (closed) path completely contains the given path.

        If *transform* is not ``None``, the path will be transformed before
        performing the test.
        """
        if transform is not None:
            transform = transform.frozen()
        return _path.path_in_path(self, None, path, transform)