Brian Cole wrote: > >I hope this is the appropriate place to post about a python >documentation bug. The hotshot example code is slightly wrong: >http://docs.python.org/lib/hotshot-example.html > >This peice of code will not work (anymore?):
It works for me in python 2.4.3. >benchtime, stones = prof.runcall(test.pystone.pystones) > >It will raise this error: >TypeError: unpack non-sequence > >The documentation for "runcall" says that the return is the return >from the function. Not a two item tuple. That's right, but the return from test.pystone.pystones() is a 2-tuple. >I also noticed while subscribing to this list that the entire >subscriber list is open to the public: >http://mail.python.org/mailman/roster/doc-sig > >Can you disable this please? Otherwise I will need to unsubscribe shortly. If it was open, it's been fixed. Currently it's only available to the list admin. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan _______________________________________________ Doc-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/doc-sig
