def createFromDocument(doc):
    return doc.createRange()
Return a ForumPermissionChecker instance for the given user.
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/selection/Range.py/createFromDocument--crossover with--dataset/ETHPy150Open ellmetha/django-machina/machina/apps/forum_permission/handler.py/PermissionHandler._get_checker