module PyCall::PyModuleWrapper

Public Instance Methods

[](*args) click to toggle source
Calls superclass method PyCall::PyObjectWrapper#[]
# File lib/pycall/pymodule_wrapper.rb, line 7
def [](*args)
  case args[0]
  when String, Symbol
    PyCall.getattr(self, args[0])
  else
    super
  end
end