Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2b77e5fae0
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.33 kb
module Typhon
module Environment
class Dict
include PythonObjectMixin
def initialize(hash)
@hash = hash
py_init(DictType)
end
end
python_class_c :DictType, [ObjectBase], 'dict', 'dict' do
end
end
end
class Hash
def to_py
Typhon::Environment::Dict.new(self)
end
end
Jump to Line
Something went wrong with that request. Please try again.