recip.py example for documentation

I don't understand why a single item is being appended to the list?