Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)