Merge pull request #1447 from PyO3/davidhewitt-patch-2
defs: remove dead __unicode__ def
This commit is contained in:
commit
b68bc48729
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue