Skip to content

\parshape

yex.keyword.Parshape(doc) #

Source code in yex/keyword/other.py
575
576
577
578
579
580
581
582
@Parshape.on_query()
def Parshape(doc):
    if doc.parshape is None:
        result = 0
    else:
        result = len(doc.parshape)

    return str(result)