lib/pycall/init.rb in pycall-0.1.0.alpha.20170419 vs lib/pycall/init.rb in pycall-0.1.0.alpha.20170426

- old
+ new

@@ -8,10 +8,10 @@ FFI::MemoryPointer.new(:pointer, 1) do |argv| argv.write_pointer(FFI::MemoryPointer.from_string("")) PyCall::LibPython.PySys_SetArgvEx(0, argv, 0) end - @builtin = LibPython.PyImport_ImportModule(PYTHON_VERSION < '3.0.0' ? '__builtin__' : 'builtins') + @builtin = LibPython.PyImport_ImportModule(PYTHON_VERSION < '3.0.0' ? '__builtin__' : 'builtins').to_ruby end class << self attr_reader :builtin end