pwtools.common.asseq

pwtools.common.asseq(arg)[source]

Assert arg to be a sequence. If it already is one (see is_seq) then return it, else return a length 1 list.