mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 00:35:35 +00:00
Add python 3.11 to manylinux buildwheels (#1096)
* Add python 3.11 to manylinux buildwheels * Fixing clippy. * Node clippy. * Python clippy. * Changelog + version number update. Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
This commit is contained in:
@ -167,7 +167,7 @@ impl PyBertProcessing {
|
||||
}
|
||||
|
||||
fn __getnewargs__<'p>(&self, py: Python<'p>) -> &'p PyTuple {
|
||||
PyTuple::new(py, &[("", 0), ("", 0)])
|
||||
PyTuple::new(py, [("", 0), ("", 0)])
|
||||
}
|
||||
}
|
||||
|
||||
@ -218,7 +218,7 @@ impl PyRobertaProcessing {
|
||||
}
|
||||
|
||||
fn __getnewargs__<'p>(&self, py: Python<'p>) -> &'p PyTuple {
|
||||
PyTuple::new(py, &[("", 0), ("", 0)])
|
||||
PyTuple::new(py, [("", 0), ("", 0)])
|
||||
}
|
||||
}
|
||||
|
||||
@ -441,7 +441,7 @@ impl PySequence {
|
||||
}
|
||||
|
||||
fn __getnewargs__<'p>(&self, py: Python<'p>) -> &'p PyTuple {
|
||||
PyTuple::new(py, &[PyList::empty(py)])
|
||||
PyTuple::new(py, [PyList::empty(py)])
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user