def pdbref(accessing_obj, accessed_obj, *args, **kwargs):
    return dbref(_to_player(accessing_obj), accessed_obj, *args, **kwargs)
Same as dbref, but making sure accessing_obj is a player.
dataset/ETHPy150Open evennia/evennia/evennia/locks/lockfuncs.py/pdbref