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

- old
+ new

@@ -31,12 +31,12 @@ v = self[key] LibPython::Helpers.delitem(__pyptr__, key) v end - def each + def each(&block) return enum_for unless block_given? - LibPython::Helpers.dict_each(__pyptr__, &proc) + LibPython::Helpers.dict_each(__pyptr__, &block) self end def to_h inject({}) do |h, (k, v)|