Skip to documentation
SLOP

tiny.python.object

Reference tiny.python object

Defined in tiny.python.

The package's runtime values: one tagged union that covers each kind of Python value the package supports, and a heap that owns the objects those values point to.

API (13)

Types and contracts

Public types and contracts.

Namespaces

Public namespaces.

No direct callersNo direct callstiny.pythonobject
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/python/src/object/root.zig

zig
//! The package's runtime values: one tagged union that covers each kind of Python value the package//! supports, and a heap that owns the objects those values point to. A value has to be cheap to//! copy between the virtual machine's stack, its variables and its containers, and Python's rules//! for truth, equality, hashing and identity have to hold across all of the value types.//!//! The file `value` defines `Value` and the object types it points to, and the file `heap` defines//! `Heap`, which creates those objects and frees them together. The namespace re-exports `Value`,//! `Builtin`, `NativeMethod`, `List`, `Tuple`, `Dict`, `DictEntry`, `DictView`, `DictViewKind`,//! `Range` and `Heap`. The iterator types are reached through `value` alone.pub const value = @import("value.zig");pub const heap = @import("heap.zig");pub const Value = value.Value;pub const Builtin = value.Builtin;pub const NativeMethod = value.NativeMethod;pub const List = value.List;pub const Tuple = value.Tuple;pub const Dict = value.Dict;pub const DictEntry = value.DictEntry;pub const DictView = value.DictView;pub const DictViewKind = value.DictViewKind;pub const Range = value.Range;pub const Heap = heap.Heap;

Source: lib/python/src/root.zig:90

zig
pub const object = @import("object/root.zig");

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433