Fix typos

This commit is contained in:
Vlad Shcherbina 2018-02-12 00:35:48 +03:00
parent 80502bd307
commit 2aedbffcd0
4 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# PyO3 [![Build Status](https://travis-ci.org/PyO3/pyo3.svg?branch=master)](https://travis-ci.org/PyO3/pyo3) [![Build Status](https://ci.appveyor.com/api/projects/status/github/PyO3/pyo3?branch=master&svg=true)](https://ci.appveyor.com/project/fafhrd91/pyo3) [![codecov](https://codecov.io/gh/PyO3/pyo3/branch/master/graph/badge.svg)](https://codecov.io/gh/PyO3/pyo3) [![crates.io](http://meritbadge.herokuapp.com/pyo3)](https://crates.io/crates/pyo3) [![Join the dev chat](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/PyO3/Lobby)
[Rust](http://www.rust-lang.org/) bindings for the [python](https://www.python.org/) interpreter.
[Rust](http://www.rust-lang.org/) bindings for the [Python](https://www.python.org/) interpreter.
* [User Guide](https://pyo3.github.io/pyo3/guide/)
* [API Documentation](http://pyo3.github.io/pyo3/pyo3/)
@ -13,7 +13,7 @@ Python is licensed under the [Python License](https://docs.python.org/2/license.
Supported Python versions:
* Python2.7, Python 3.5 and up
* Python 2.7, Python 3.5 and up
Supported Rust version:

View file

@ -80,7 +80,7 @@ impl MyClass {
obj.init(|token| {
MyClass {
num: 10,
debug: False,
debug: false,
token: token
}
})

View file

@ -21,7 +21,7 @@ use pyo3::{Python, PyDict};
py_exception!(mymodule, CustomError);
fn main() {
let gil = Python::acquire_gil();
let gil = Python::acquire_gil();
let py = gil.python();
let ctx = PyDict::new(py);

View file

@ -39,7 +39,7 @@ pub trait PyObjectWithToken: Sized {
pub trait PyNativeType: PyObjectWithToken {}
/// Trait implements objet reference extraction from python managed pointer.
/// Trait implements object reference extraction from python managed pointer.
pub trait AsPyRef<T>: Sized {
/// Return reference to object.