pyquibbler.q

pyquibbler.q(func, *args, **kwargs) Quib

Creates a function quib from the given function call.

w = q(func, *args, **kwargs) returns a quib that implement func(*args, **kwargs).

Return type:

Quib

See also

quiby, is_quiby, q

Examples

>>> a = iquib(2)
>>> b = q(str, a)
>>> b.get_value()
'2'

Note

If Quibbler has not been initialized, q will simply evaluate the function and return the result. By not initializing quibbler you can thereby check how your code works without quibs.