public PythonTuple __reduce__(CodeContext context) { return(PythonTuple.MakeTuple( DynamicHelpers.GetPythonType(this), PythonTuple.MakeTuple(_items.GetItems()), GetType() == typeof(SetCollection) ? null : ObjectOps.ReduceProtocol0(context, this)[2] )); }
public PythonTuple __reduce__(CodeContext /*!*/ context) { return(PythonTuple.MakeTuple( DynamicHelpers.GetPythonType(this), PythonTuple.MakeTuple( PythonOps.MakeString(this), "latin-1" ), GetType() == typeof(Bytes) ? null : ObjectOps.ReduceProtocol0(context, this)[2] )); }