cpython-3.3.0: Bindings for libpython

Safe HaskellNone

CPython.Protocols.Mapping

Documentation

getItem :: (Mapping self, Object key) => self -> key -> IO SomeObjectSource

setItem :: (Mapping self, Object key, Object value) => self -> key -> value -> IO ()Source

deleteItem :: (Mapping self, Object key) => self -> key -> IO ()Source

size :: Mapping self => self -> IO IntegerSource

hasKey :: (Mapping self, Object key) => self -> key -> IO BoolSource

keys :: Mapping self => self -> IO ListSource

values :: Mapping self => self -> IO ListSource

items :: Mapping self => self -> IO ListSource