We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17d28f1 + 35ea5e0 commit 333b328Copy full SHA for 333b328
lib/pycall/dict.rb
@@ -33,9 +33,9 @@ def delete(key)
33
v
34
end
35
36
- def each
+ def each(&block)
37
return enum_for unless block_given?
38
- LibPython::Helpers.dict_each(__pyptr__, &proc)
+ LibPython::Helpers.dict_each(__pyptr__, &block)
39
self
40
41
lib/pycall/list.rb
@@ -13,9 +13,9 @@ def length
13
PyCall.len(self)
14
15
16
17
18
- LibPython::Helpers.sequence_each(__pyptr__, &proc)
+ LibPython::Helpers.sequence_each(__pyptr__, &block)
19
20
21
0 commit comments