package pyml
OCaml bindings for Python
Install
Dune Dependency
Authors
Maintainers
Sources
20210924.tar.gz
sha512=c1e979751ef933635ae6d7f69e1638a3accfd082b0b3a364c4305eb268a67f73af26e321beef4cf3b99ab2fe35ab642c03b005ad620b0268e22b4a09b6f7c1c0
doc/pyml/Py/Type/index.html
Module Py.Type
Source
Introspection of Python types
Source
type t =
| Unknown
| Bool
| Bytes
| Callable
| Capsule
| Closure
| Dict
| Float
| List
| Int
| Long
| Module
| None
| Null
| Tuple
| Type
| Unicode
| Iter
| Set
(*Some types of Python values.
*)Bytes
covers both theStr
values of Python 2 and theBytes
values of Python 3.Long
covers both theInt
values of Python 2 and theLong
values of Python 3.Capsule
corresponds to the values created withPy.Capsule
.Closure
corresponds to the values created withPy.Callable
.
Wrapper for PyType_IsSubtype
mismatch ty obj
raises a type mismatch Failure _
that indicates that an object of type ty
was expected, but obj
was found.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>