Skip to content

Commit

Permalink
fix: export new dict views types (#2590)
Browse files Browse the repository at this point in the history
* fix: export new dict views types

* fix exposed PyDictItems

Co-authored-by: David Hewitt <[email protected]>

* add changelog entry

Co-authored-by: David Hewitt <[email protected]>
  • Loading branch information
PrettyWood and davidhewitt authored Aug 25, 2022
1 parent c28e919 commit 611ecc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ PyO3 versions, please see the [migration guide](https://pyo3.rs/latest/migration
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Fix visibility of `PyDictItems`, `PyDictKeys`, and `PyDictValues` types added in PyO3 0.17.0.

## [0.17.0] - 2022-08-23

### Packaging
Expand Down
2 changes: 2 additions & 0 deletions src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ pub use self::datetime::{
PyTzInfo, PyTzInfoAccess,
};
pub use self::dict::{IntoPyDict, PyDict};
#[cfg(not(PyPy))]
pub use self::dict::{PyDictItems, PyDictKeys, PyDictValues};
pub use self::floatob::PyFloat;
#[cfg(all(not(Py_LIMITED_API), not(PyPy)))]
pub use self::frame::PyFrame;
Expand Down

0 comments on commit 611ecc1

Please sign in to comment.