Add missing trait in README example (#61)
This commit is contained in:
parent
68e197993d
commit
c5d0860996
|
@ -34,7 +34,7 @@ Example program displaying the value of `sys.version`:
|
||||||
```rust
|
```rust
|
||||||
extern crate pyo3;
|
extern crate pyo3;
|
||||||
|
|
||||||
use pyo3::{Python, PyDict, PyResult};
|
use pyo3::{Python, PyDict, PyResult, ObjectProtocol};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let gil = Python::acquire_gil();
|
let gil = Python::acquire_gil();
|
||||||
|
|
Loading…
Reference in New Issue