def get_doc_for_file(fname):
    # Read code
    try:
        code = open(os.path.join(THIS_DIR, fname), 'rt', encoding='utf-8').read()
    except Exception as err:
        return 'Error: could not read %r: %s' % (fname, str(err))
    
    # Search for closes multiline string
    qsingle, qdouble = "'''", '"""'
    ii = [(code.find(needle), needle) for needle in (qsingle, qdouble)]
    ii = [(i, needle) for i, needle in ii if i >= 0]
    ii.sort(key=lambda x: x[0])
    
    # Find where it ends
    if ii:
        i1, needle = ii[0]
        i2 = code.find(needle, i1+3)
        if i2 > 0:
            doc = code[i1:i2].strip('"\'').strip()
            return doc.replace('\r\n', '\n').replace('\r', '\n')
This should generate an expression that picks the lower value for comparison.
dataset/ETHPy150Open zoofIO/flexx/make/help.py/get_doc_for_file--crossover with--dataset/ETHPy150Open thedrow/django-natural-query/tests/unit/test_date_natural_query_descriptor.py/DateNaturalQueryDescriptorTestCase.test_concated_gt_and_gte_operator_generates_the_right_expression_for_the_greater_than_or_equal_day_lookup