Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def isFunction(v):
    return type(v) == type(isFunction)
        


src/r/e/reportlab-3.1.8/src/reportlab/graphics/widgets/markers.py   reportlab(Download)
from reportlab.lib.attrmap import AttrMap, AttrMapValue
from reportlab.lib.colors import black
from reportlab.lib.utils import isFunction, isClass
from reportlab.graphics.widgets.flags import Flag
from math import sin, cos, pi
def uSymbol2Symbol(uSymbol,x,y,color):
    if isFunction(uSymbol):
        symbol = uSymbol(x, y, 5, color)
    elif isClass(uSymbol) and issubclass(uSymbol,Widget):
        size = 10.