dataclasses

package
v0.12.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FieldType = objects.NewType("Field", []*objects.Type{objects.ObjectType()})

FieldType is the type singleton for Field.

CPython: Lib/dataclasses.py:279 Field

View Source
var FrozenInstanceError = objects.NewType("FrozenInstanceError", []*objects.Type{errors.PyExc_AttributeError})

FrozenInstanceError is the exception type raised on writes to a frozen instance. CPython makes it a subclass of AttributeError; we mirror that lineage so `except AttributeError` catches frozen writes.

CPython: Lib/dataclasses.py:171 FrozenInstanceError

View Source
var InitVarType = objects.NewType("InitVar", []*objects.Type{objects.ObjectType()})

InitVarType is the type singleton for InitVar instances.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL