From 5939362e7280c48c3dfc40fa98f20bda93c9f972 Mon Sep 17 00:00:00 2001 From: Yuji Kanagawa Date: Fri, 5 Jun 2020 17:48:43 +0900 Subject: [PATCH] Fix docs and comments based on the review Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com> --- CHANGELOG.md | 2 +- tests/test_pyfunction.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 853e04c0..53020074 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - Simplify internals of `#[pyo3(get)]` attribute. (Remove the hidden API `GetPropertyValue`.) [#934](https://github.com/PyO3/pyo3/pull/934) - Call `Py_Finalize` at exit to flush buffers, etc. [#943](https://github.com/PyO3/pyo3/pull/943) -- PyBuffer is now typed. #[951](https://github.com/PyO3/pyo3/pull/951) +- Add type parameter to PyBuffer. #[951](https://github.com/PyO3/pyo3/pull/951) ### Removed - Remove `ManagedPyRef` (unused, and needs specialization) [#930](https://github.com/PyO3/pyo3/pull/930) diff --git a/tests/test_pyfunction.rs b/tests/test_pyfunction.rs index eda71065..825670f2 100644 --- a/tests/test_pyfunction.rs +++ b/tests/test_pyfunction.rs @@ -34,7 +34,6 @@ fn buffer_inplace_add(py: Python, x: PyBuffer, y: PyBuffer) { #[test] fn test_buffer_add() { - // Regression test for issue #932 let gil = Python::acquire_gil(); let py = gil.python(); let f = wrap_pyfunction!(buffer_inplace_add)(py);