Fix derive for PyObjectSetAttrProtocol.
PyObjectSetAttrProtocol doesn't define associated type Success.
This commit is contained in:
parent
30485f3f98
commit
4864c584f3
|
@ -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]
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue