docconvert icon indicating copy to clipboard operation
docconvert copied to clipboard

Handle multiple C{type} in an epytext docstring

Open AWhetter opened this issue 4 years ago • 7 comments

Reading the following docstring

"""
Blah

:Parameters:
    arg1 :C{string} or C{int}
        Does something
"""

results in the following Google docstring

"""Blah

Args:
    arg1 (string} or C{int): Does something
"""

It looks like something is greedily looking for C{} but it needs to be more conservative.

AWhetter avatar Jul 08 '20 18:07 AWhetter