legacy -- I'll change


On Sat, Dec 14, 2013 at 7:41 AM, Sergey B Kirpichev <
notifications@github.com> wrote:

> In sympy/sets/fancysets.py:
>
> > -        >>> 5 in S.Naturals
> > -        True
> > -        >>> iterable = iter(S.Naturals)
> > -        >>> print(next(iterable))
> > -        1
> > -        >>> print(next(iterable))
> > -        2
> > -        >>> print(next(iterable))
> > -        3
> > -        >>> pprint(S.Naturals.intersect(Interval(0, 10)))
> > -        {1, 2, ..., 10}
> > +    >>> from sympy import S, Interval, pprint
> > +    >>> 5 in S.Naturals
> > +    True
> > +    >>> iterable = iter(S.Naturals)
> > +    >>> print(next(iterable))
>
> Why print here?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sympy/sympy/pull/2674/files#r8351752>
> .
>