ngoldbaum / pyo3-dict-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run like this:

± PYTHONPATH=$PWD cargo run
   Compiling test-dict v0.1.0 (/Users/goldbaum/Documents/pyo3-test/test-dict)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s
     Running `target/debug/test-dict`
[src/main.rs:11:9] d.get_item("hello").unwrap().unwrap() = 'world'
Error: PyErr { type: <class 'TypeError'>, value: TypeError(), traceback: Some(<traceback object at 0x100d126c0>) }

About


Languages

Language:Rust 87.2%Language:Python 12.8%