Less feature(specialization)

This commit is contained in:
konstin 2019-02-01 18:09:51 +01:00
parent f946888804
commit 9e53418aad
18 changed files with 0 additions and 42 deletions

View File

@ -17,7 +17,6 @@ edition = "2018"
[badges]
travis-ci = { repository = "PyO3/pyo3", branch = "master" }
appveyor = { repository = "fafhrd91/pyo3" }
codecov = { repository = "PyO3/pyo3", branch = "master", service = "github" }
[dependencies]
libc = "0.2.48"

View File

@ -51,8 +51,6 @@ features = ["extension-module"]
**`src/lib.rs`**
```rust
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::wrap_pyfunction;
@ -97,8 +95,6 @@ pyo3 = "0.6.0-alpha.2"
Example program displaying the value of `sys.version`:
```rust
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::types::PyDict;

View File

@ -474,11 +474,8 @@ These correspond to the slots `tp_traverse` and `tp_clear` in the Python C API.
as every cycle must contain at least one mutable reference.
Example:
```rust
#![feature(specialization)]
use pyo3::prelude::*;
#[pyclass]
struct ClassWithGCSupport {
obj: Option<PyObject>,
@ -521,8 +518,6 @@ It includes two methods `__iter__` and `__next__`:
Example:
```rust
#![feature(specialization)]
use pyo3::prelude::*;
#[pyclass]

View File

@ -126,8 +126,6 @@ trait can be implemented. In that case actual exception arguments creation get d
until `Python` object is available.
```rust,ignore
#![feature(specialization)]
use std::net::TcpListener;
use pyo3::{PyErr, PyResult, exc};

View File

@ -30,8 +30,6 @@ as first parameter, the function name as second and an instance of `Python`
as third.
```rust
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::wrap_pyfunction;

View File

@ -45,8 +45,6 @@ features = ["extension-module"]
**`src/lib.rs`**
```rust
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::wrap_pyfunction;
@ -91,8 +89,6 @@ pyo3 = "0.5"
Example program displaying the value of `sys.version`:
```rust
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::types::PyDict;

View File

@ -25,8 +25,6 @@ py_class!(class MyClass |py| {
**pyo3**
```rust
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::PyRawObject;

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::class::*;
use pyo3::prelude::*;
use pyo3::types::PyObjectRef;

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::class::PyBufferProtocol;
use pyo3::exceptions::BufferError;
use pyo3::ffi;

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::prelude::*;
#[macro_use]

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::PyRawObject;

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::class::PyGCProtocol;
use pyo3::class::PyTraverseError;
use pyo3::class::PyVisit;

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::prelude::*;
use std::isize;

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::types::PyDict;
use std::isize;

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::types::{PyDict, PyString, PyTuple, PyType};
use pyo3::PyRawObject;

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::prelude::*;
#[cfg(Py_3)]

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::types::{PyDict, PyTuple};

View File

@ -1,5 +1,3 @@
#![feature(specialization)]
use pyo3::prelude::*;
use pyo3::types::PyDict;
use pyo3::wrap_pyfunction;