(self)
return 2**(self.superset_size)
Returns the number of all possible subsets.

        Examples
        ========

        >>> from sympy.combinatorics.subsets import Subset
        >>> a = Subset(['c','d'], ['a','b','c','d'])
        >>> a.cardinality
        16

        See Also
        ========
        subset, superset, size, superset_size
Returns the number of all possible subsets.
Returns the number of all possible subsets .
def cardinality(self):
        """
        Returns the number of all possible subsets.

        Examples
        ========

        >>> from sympy.combinatorics.subsets import Subset
        >>> a = Subset(['c','d'], ['a','b','c','d'])
        >>> a.cardinality
        16

        See Also
        ========
        subset, superset, size, superset_size
        """
        return 2**(self.superset_size)
def cardinality ( self ) : return 2 ** ( self . superset_size )