Fix derive for PyObjectSetAttrProtocol.

PyObjectSetAttrProtocol doesn't define associated type Success.
This commit is contained in:
Sebastian Puetz 2019-10-25 16:03:53 +02:00
parent 30485f3f98
commit 4864c584f3
2 changed files with 2 additions and 1 deletions

View File

@ -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]

View File

@ -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 {