def createRange(doc, startPoint, startOffset, endPoint, endOffset):
    rng = doc.createRange()
    rng.setStart(startPoint, startOffset)
    rng.setEnd(endPoint, endOffset)

    return rng;
Clears the in-memory cache.
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/selection/Range.py/createRange--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/ndb/context.py/Context.clear_cache