lib/pycall/tuple.rb in pycall-0.1.0.alpha.20170307 vs lib/pycall/tuple.rb in pycall-0.1.0.alpha.20170308

- old
+ new

@@ -10,21 +10,17 @@ tuple = new(init.length) init.each_with_index do |obj, index| tuple[index] = obj end tuple - when PyObject + when LibPython::PyObjectStruct super(init) end end # Make tuple from array def self.[](*ary) new(ary) - end - - def initialize(pyobj) - super(pyobj, LibPython.PyTuple_Type) end def length LibPython.PyTuple_Size(__pyobj__) end