cpython-3.5.1: Bindings for libpython
Safe HaskellNone
LanguageHaskell2010

CPython.Simple

Documentation

data Arg Source #

Constructors

forall a.ToPy a => Arg a 

Instances

Instances details
ToPy Arg Source # 
Instance details

Defined in CPython.Simple

Methods

toPy :: Arg -> IO SomeObject Source #

arg :: ToPy a => a -> Arg Source #

call Source #

Arguments

:: FromPy a 
=> Text

module name

-> Text

function name

-> [Arg]

args

-> [(Text, Arg)]

kwargs

-> IO a 

setAttribute Source #

Arguments

:: ToPy a 
=> Text

module name

-> Text

attribute name

-> a

value to set attribute to

-> IO () 

getAttribute Source #

Arguments

:: FromPy a 
=> Text

module name

-> Text

attribute name

-> IO a