Alright, thanks!


On Tue, Apr 29, 2014 at 11:08 AM, sebastien-j <notifications@github.com>wrote:

> In pylearn2/datasets/stl10.py:
>
> > @@ -129,10 +139,7 @@ def __init__(self, which_set, center = False, example_range = None):
> >
> >
> >  def restrict(dataset, fold):
> > -    """
> > -    Restricts the dataset to use the specified fold.
> > -    """
> > -
> > +    """Restricts the dataset to use the specified fold."""
>
> See PEP 257: One-line Docstrings
>
> http://legacy.python.org/dev/peps/pep-0257/
>
> I put most one-liners like this, except when adding triple-quotes would
> cause a line to be too long.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/lisa-lab/pylearn2/pull/704/files#r12097915>
> .
>