> So while:
>     fooble(arg)
> is pretty nasty, documentation that tells me that 'arg' is a string is
> probably enough to set me on the right track.  But if the
> documentation tells me that arg is a thunk/block, that's almost
> certainly not enough to get me going.  I also need to know how that
> thunk/block will be called.

This argument against thunks sounds bogus to me. The signature of any
callable arguments is recursively part of the signature of the
function you're documenting. Just like the element type of any
sequence arguments is part of the argument type.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to