Remove mention of Python 2
This commit is contained in:
parent
20534ec22a
commit
eb34ce588b
|
@ -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
|
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 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
|
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
|
CPython for annotating signatures of built-in functions.
|
||||||
built-ins are new in Python 3 — in Python 2, they are simply considered to be a
|
|
||||||
part of the docstring.
|
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use pyo3::prelude::*;
|
use pyo3::prelude::*;
|
||||||
|
|
Loading…
Reference in a new issue