def extractWord(text):
    if not text:
        return None
    l = text.split(None, 1)
    word = l[0]
    try:
        text = l[1]
    except __HOLE__:
        text = ''
    return word, text
dataset/ETHPy150Open twisted/ldaptor/ldaptor/schema.py/extractWord