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