Skip to content

Commit

Permalink
Merge pull request #645 from sebpuetz/fix-set-attr-protocol
Browse files Browse the repository at this point in the history
Fix derive for PyObjectSetAttrProtocol.
  • Loading branch information
kngwyu authored Oct 25, 2019
2 parents 30485f3 + 4864c58 commit f8e07b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

* Fix handling of invalid utf-8 sequences in `PyString::as_bytes` [#639](https://github.com/PyO3/pyo3/pull/639)
and `PyString::to_string_lossy` [#642](https://github.com/PyO3/pyo3/pull/642).
* Fix proc-macro definition of PySetAttrProtocol. [#645](https://github.com/PyO3/pyo3/pull/645)

## [0.8.1]

Expand Down
2 changes: 1 addition & 1 deletion pyo3-derive-backend/src/defs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub const OBJECT: Proto = Proto {
name: "__setattr__",
arg1: "Name",
arg2: "Value",
pyres: true,
pyres: false,
proto: "pyo3::class::basic::PyObjectSetAttrProtocol",
},
MethodProto::Binary {
Expand Down

0 comments on commit f8e07b2

Please sign in to comment.