Added docstrings to primitives.py

darcs-hash:20091112092707-58252-a9223339637ba09a9de233edd62f4dfc8f60d8b5