Sha256: df65e0f560c52e93da5581899f3529e5d9d184067931345d227739210be0a029
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 Bytes
Contents
module PyBind class PySet include PyObjectWrapper pybind_type LibPython.PySet_Type def initialize(init) super end def size LibPython.PySet_Size(@pystruct) end def include?(obj) obj = obj.to_python LibPython.PySet_Contains(@pystruct, obj) == 1 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pybind-0.1.0 | lib/pybind/types/set.rb |