#200 Inherited doc strings cannot handle :Parameters:

v3.0
closed-fixed
Edward Loper
5
2007-07-11
2007-04-25
Anonymous
No

Example:

__docformat__ = 'restructuredtext en'

class Apa(object):
def daFunc(self, arg1, arg2):
"""Some function.

:Parameters:
arg1 : int
This is arg 1.
arg2 : float
This is arg 2.

"""
return 1

class Bepa(Apa):
def daFunc(self, arg1, arg2):
return 2

Epydoc creates correct documentation for Apa.daFunc, but not for Bepa.daFunc. It inherits the documentation from Apa as it should, but :Parameters: does not work as it should for some reason. I get nothing from that. If I use :Returns: I get some weird mangled veriant.

Epydoc version used: 3.0beta1

My email: Hakan.Johansson@jeppesen.com

Discussion

    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=1053920
    Originator: NO

    Fixed in r1595