{$HiddenIdents} unit SPythonHidden; interface uses SPythonSystem; function !Floor(x : real) : integer; function !FloorDiv(x: real; y: real): integer; function !FloorMod(x: real; y: real): real; type !UnknownType = class end; // TODO: Перенести в SPythonSystemPys следующие методы function list(sq: sequence of T): SPythonSystem.list; function list(d : dict) : SPythonSystem.list; function &set(sq: sequence of T): &set; function &set(): empty_set; function dict(params pairs: array of (TKey, TVal)): dict; function dict(seqOfPairs: IEnumerable>) : dict; implementation function list(sq: sequence of T): SPythonSystem.list := new SPythonSystem.list(sq); function list(d : dict) : SPythonSystem.list := new SPythonSystem.list(d.keys()); function &set(sq: sequence of T): &set; begin Result := new &set(sq); end; function &set(): empty_set := new empty_set; function dict(params pairs: array of (TKey, TVal)): dict := new dict(pairs); function dict(seqOfPairs: sequence of (TKey, TVal)): dict := new dict(seqOfPairs); function !Floor(x : real) : integer := PABCSystem.Floor(x); function !FloorDiv(x: real; y: real): integer := PABCSystem.Floor(x / y); function !FloorMod(x: real; y: real): real := x - PABCSystem.Floor(x / y) * y; end.