cf.Field.__len__

Field.__len__()[source]

Called by the len built-in function.

x.__len__() <==> len(x)

Always returns 1.

Examples:
>>> len(f)
1

Previous topic

cf.Field.__getitem__

Next topic

cf.Field.__lt__

This Page