Merge pull request #1447 from PyO3/davidhewitt-patch-2

defs: remove dead __unicode__ def
This commit is contained in:
David Hewitt 2021-02-25 06:50:41 +00:00 committed by GitHub
commit b68bc48729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,6 @@ pub const OBJECT: Proto = Proto {
py_methods: &[
PyMethod::new("__format__", "FormatProtocolImpl"),
PyMethod::new("__bytes__", "BytesProtocolImpl"),
PyMethod::new("__unicode__", "UnicodeProtocolImpl"),
],
slot_defs: &[
SlotDef::new(&["__str__"], "Py_tp_str", "str"),