예제 #1
0
파일: selection.py 프로젝트: cheery/essence
def last_marker(obj):
    if iselement(obj) and len(obj.holes) > 0:
        return mark1(obj.holes[-1])
예제 #2
0
파일: selection.py 프로젝트: cheery/essence
def first_marker(obj):
    if iselement(obj) and len(obj.holes) > 0:
        return mark0(obj.holes[0])