public static object load(PythonFile /*!*/ file) { if (file == null) { throw PythonOps.TypeError("expected file, found None"); } return(MarshalOps.GetObject(FileEnumerator(file))); }
public static object load(CodeContext /*!*/ context, PythonIOModule._IOBase /*!*/ file) { if (file == null) { throw PythonOps.TypeError("expected file, found None"); } return(MarshalOps.GetObject(FileEnumerator(context, file))); }
public static object loads(string @string) { return(MarshalOps.GetObject(StringEnumerator(@string))); }
public static object loads([BytesConversion] IList <byte> bytes) { return(MarshalOps.GetObject(bytes.GetEnumerator())); }