def formatListResponse(msgs):
 (yield successResponse(len(msgs)))
 for ele in formatListLines(msgs):
  (yield ele)
 (yield '.\r\n')

def formatListResponse ( msgs ) : ( yield successResponse ( len ( msgs ) ) ) for ele in formatListLines ( msgs ) : ( yield ele ) ( yield '.\r\n' )
format a list of message sizes appropriately for a complete list response .