pyml

OCaml bindings for Python
IN THIS PACKAGE
Module Py . Mapping
val check : Object.t -> bool

Wrapper for PyMapping_Check

val get_item_string : Object.t -> string -> Object.t option
val find_string : Object.t -> string -> Object.t

Equivalent to get_item_string but raises a Not_found exception in case of failure.

val find_string_opt : Object.t -> string -> Object.t option

Alias for get_item_string.

val has_key : Object.t -> Object.t -> bool

Wrapper for PyMapping_HasKey

val has_key_string : Object.t -> string -> bool
val length : Object.t -> int

Wrapper for PyMapping_Length

val set_item_string : Object.t -> string -> Object.t -> unit
val size : Object.t -> int

Wrapper for PyMapping_Size