pyo3/types/dict/items.rs
1#[cfg(not(any(PyPy, GraalPy, RustPython)))]
2use crate::{ffi, PyAny};
3
4/// Represents a Python `dict_items`.
5#[cfg(not(any(PyPy, GraalPy, RustPython)))]
6#[repr(transparent)]
7pub struct PyDictItems(PyAny);
8
9#[cfg(not(any(PyPy, GraalPy, RustPython)))]
10pyobject_native_type_core!(
11 PyDictItems,
12 pyobject_native_static_type_object!(ffi::PyDictItems_Type),
13 "builtins",
14 "dict_items",
15 #checkfunction=ffi::PyDictItems_Check
16);