Improved examples/listfuncs.py slightly.