dumpstr#

dumpstr(obj=None, **kwargs)[source]#

Dump an object to a bytes-like string (rarely used by the user); see sc.save() instead.

Parameters:
  • obj (any) – the object to convert

  • kwargs (dict) – passed to sc.save()

New in version 3.0.0: uses sc.save() for more robustness