python folding method unuse