diff --git a/README.md b/README.md index 04cdd49d..c1b6a789 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/guide/src/class.md b/guide/src/class.md index 2b915161..5ee8c495 100644 --- a/guide/src/class.md +++ b/guide/src/class.md @@ -80,7 +80,7 @@ impl MyClass { obj.init(|token| { MyClass { num: 10, - debug: False, + debug: false, token: token } }) diff --git a/guide/src/exception.md b/guide/src/exception.md index a3079555..a41408ef 100644 --- a/guide/src/exception.md +++ b/guide/src/exception.md @@ -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); diff --git a/src/instance.rs b/src/instance.rs index 0643bdcf..b1a9f394 100644 --- a/src/instance.rs +++ b/src/instance.rs @@ -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: Sized { /// Return reference to object.