Remove mention of Python 2

This commit is contained in:
Joel Höner 2019-07-27 04:45:53 +02:00 committed by GitHub
parent 20534ec22a
commit eb34ce588b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,9 +53,7 @@ In order to make the function signature available to Python to be retrieved via
formatted like in the example below. Please note that the newline after the
`--` is mandatory. The `/` signifies the end of positional-only arguments. This
is not a feature of this library in particular, but the general format used by
CPython for annotating signatures of built-in functions. Function signatures for
built-ins are new in Python 3 — in Python 2, they are simply considered to be a
part of the docstring.
CPython for annotating signatures of built-in functions.
```rust
use pyo3::prelude::*;