cf.Field.reverse

Field.reverse()[source]

L.reverse() – reverse IN PLACE

Note that f.reverse() is equivalent to f, thus providing compatiblity with a single element field list.

New in version 1.0.4.

Examples 1:
>>> f.reverse()
Returns:None
Examples 2:
>>> id0 = id(f)
>>> f.reverse()
>>> id0 == id(f)
True
>>> g = cf.FieldList(f)
>>> id0 = id(g)
>>> g.reverse()
>>> id0 == id(g)
True

Previous topic

cf.Field.index

Next topic

cf.Field.sort

This Page