All,
I'm starting to update the documentation of maskedarray to the latest 
standard.
How should I represent the default value of an optional parameter ?
I was thinking something like

def function(a, value=None)
    """Does something
*Parameters*:
    a : {ndarray}
        Input array.
    value : {float} *[None]*
        Some value. If None, a default based on the dtype of a is used.
    """"

Suggestions/ideas are welcome.
Thanks a lot in advance
P.
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to