-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpyops.mli.new
42 lines (29 loc) · 1.5 KB
/
pyops.mli.new
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
val ( .@() ) : Py.Object.t -> Py.Object.t -> Py.Object.t
(** Equivalent to {!Py.Object.find_attr}. *)
val ( .@$() ) : Py.Object.t -> string -> Py.Object.t
(** Equivalent to {!Py.Object.find_attr_string}. *)
val ( .@()<- ) : Py.Object.t -> Py.Object.t -> Py.Object.t -> unit
(** Equivalent to {!Py.Object.set_attr}. *)
val ( .@$()<- ) : Py.Object.t -> string -> Py.Object.t -> unit
(** Equivalent to {!Py.Object.set_attr_string}. *)
val ( .![] ) : Py.Object.t -> Py.Object.t -> Py.Object.t
(** Equivalent to {!Py.Object.find}. *)
val ( .!$[] ) : Py.Object.t -> string -> Py.Object.t
(** Equivalent to {!Py.Object.find_string}. *)
val ( .![]<- ) : Py.Object.t -> Py.Object.t -> Py.Object.t -> unit
(** Equivalent to {!Py.Object.set_item}. *)
val ( .!$[]<- ) : Py.Object.t -> string -> Py.Object.t -> unit
(** Equivalent to {!Py.Object.set_item_string}. *)
val ( .%[] ) : Py.Object.t -> Py.Object.t -> Py.Object.t
(** Equivalent to {!Py.Dict.find}. *)
val ( .%$[] ) : Py.Object.t -> string -> Py.Object.t
(** Equivalent to {!Py.Dict.find_string}. *)
val ( .%[]<- ) : Py.Object.t -> Py.Object.t -> Py.Object.t -> unit
(** Equivalent to {!Py.Dict.set_item}. *)
val ( .%$[]<- ) : Py.Object.t -> string -> Py.Object.t -> unit
(** Equivalent to {!Py.Dict.set_item_string}. *)
val ( .&() ) : Py.Object.t -> string -> Py.Object.t array -> Py.Object.t
(** Equivalent to {!Py.Module.get_function}. *)
val ( .&()<- ) : Py.Object.t -> string -> (Py.Object.t array -> Py.Object.t)
-> unit
(** Equivalent to {!Py.Module.set_function}. *)