package py
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Object defines functions for working with generic Python objects
Object defines functions for working with generic Python objects
val is_null : t -> bool
Returns true if an object is null
val is_none : t -> bool
Returns true if an object is None
val incref : t -> unit
Increments reference count for an object
val decref : t -> unit
Decrements reference count for an object
val length : t -> int64
Returns the length of an object
val del_item_s : t -> string -> unit
Deletes the item at the given string index
val del_item_i : t -> int -> unit
Deletes the item at the given integer index
val del_attr_s : t -> string -> unit
val has_attr_s : t -> string -> bool
val to_string : t -> string
Convert an object to OCaml string
val to_bytes : t -> bytes
Convert an object to OCaml bytes
val to_int : t -> int
Convert an object to OCaml int
val to_int64 : t -> int64
Convert an object to OCaml int64
val to_float : t -> float
Convert an object to OCaml float
val to_bool : t -> bool
Convert an object to OCaml bool
val from_bool : bool -> t
Create a boolean object
val none : unit -> t
Call a method on Python Object
val pp : Format.formatter -> t -> unit
Top-level pretty printer.
val to_c_ptr : Py__.Py_base.pyobject -> unit Ctypes.ptr
val of_c_ptr : unit Ctypes.ptr -> Py__.Py_base.pyobject
val capsule_c_pointer : t -> string option -> unit Ctypes.ptr
Extract the C pointer from a capsule
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>