lib/pycall/dict.rb in pycall-0.1.0.alpha.20170502 vs lib/pycall/dict.rb in pycall-0.1.0.alpha.20170711
- old
+ new
@@ -64,9 +64,11 @@
def size
LibPython.PyDict_Size(__pyobj__)
end
+ alias length size
+
def keys
LibPython.PyDict_Keys(__pyobj__).to_ruby
end
def values