[wingide-users] epydoc!

Linos info at linos.es
Wed Oct 5 10:28:26 MDT 2011


El 05/10/11 17:21, Jason L Connor escribió:
> On Wed, 2011-10-05 at 15:50 +0200, Linos wrote:
>> I have 0 experience with sphinx, do know anyone if it is possible to
>> annotate
>> the type of a variable in code? Not only function signatures i mean. 
> 
> Yes. http://sphinx.pocoo.org/domains.html#python-signatures
> 
> 

I can't find in this link where they say that you can annotate variables inside
code, something like:

var_name = horrible_megalong_function_with_100_different_returns()   #:type:
integer

Regards,
Miguel Angel.


More information about the wingide-users mailing list