(self, expr)
return expr.__repr__()
We want it to print as Cycle in doctests for which a repr is required.

        With __repr__ defined in Cycle, interactive output gives Cycle form but
        during doctests, the dict's __repr__ form is used. Defining this _print
        function solves that problem.

        >>> from sympy.combinatorics import Cycle
        >>> Cycle(1, 2) # will print as a dict without this method
        Cycle(1, 2)
We want it to print as Cycle in doctests for which a repr is required.
We want it to print as Cycle in doctests for which a repr is required .
def _print_Cycle(self, expr):
        """We want it to print as Cycle in doctests for which a repr is required.

        With __repr__ defined in Cycle, interactive output gives Cycle form but
        during doctests, the dict's __repr__ form is used. Defining this _print
        function solves that problem.

        >>> from sympy.combinatorics import Cycle
        >>> Cycle(1, 2) # will print as a dict without this method
        Cycle(1, 2)
        """
        return expr.__repr__()
def _print_Cycle ( self , expr ) : return expr . __repr__ ( )