Ticket #11577: trac_11577-delta.patch

File trac_11577-delta.patch, 1001 bytes (added by jhpalmieri, 8 years ago)

for reference only: difference between old patch and new one

  • sage/structure/sage_object.pyx

    diff --git a/sage/structure/sage_object.pyx b/sage/structure/sage_object.pyx
    a b def load(*filename, compress=True, verbo 
    788788def save(obj, filename=None, compress=True, **kwds):
    789789    """
    790790    Save ``obj`` to the file with name ``filename``, which will have an
    791     ``.sobj`` extension added if it doesn't have some, or ``obj`` doesn't
    792     have its own ``save()`` method, like e.g. Python tuples.
     791    ``.sobj`` extension added if it doesn't have one, or if ``obj``
     792    doesn't have its own ``save()`` method, like e.g. Python tuples.
    793793
    794     For image objects and alike (which have their own ``save()`` method),
     794    For image objects and the like (which have their own ``save()`` method),
    795795    you may have to specify a specific extension, e.g. ``.png``, if you
    796796    don't want the object to be saved as a Sage object (or likewise, if
    797797    ``filename`` could be interpreted as already having some extension).