lib/pycall/list.rb in pycall-1.3.0 vs lib/pycall/list.rb in pycall-1.3.1

- old
+ new

@@ -11,12 +11,12 @@ def length PyCall.len(self) end - def each + def each(&block) return enum_for unless block_given? - LibPython::Helpers.sequence_each(__pyptr__, &proc) + LibPython::Helpers.sequence_each(__pyptr__, &block) self end def <<(item) append(item)