Class: Object

Inherits:
BasicObject
Defined in:
lib/pybind/core_ext/basic.rb

Instance Method Summary collapse

Instance Method Details

#to_python_structObject Also known as: to_python

Raises:

  • (TypeError)


2
3
4
# File 'lib/pybind/core_ext/basic.rb', line 2

def to_python_struct
  raise TypeError, "can not convert #{inspect} to a PyObjectStruct"
end