Update python docs generation to include function signature.

Document generation was actually already broken because 'grouped_stream' wasn't recognized for the 'ungroup' command, so that is now fixed.  Also fixed a small typo I found while I was at it.