Skip to content

Commit 285f04b

Browse files
MarkDaousttensorflower-gardener
authored andcommitted
Fix arg lists for args and kwargs in docs.
PiperOrigin-RevId: 163246117
1 parent c625463 commit 285f04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def _parse_function_details(docstring):
507507
pairs = list(_gen_pairs(parts[1:]))
508508

509509
function_details = []
510-
item_re = re.compile(r'^ (\w+):', re.MULTILINE)
510+
item_re = re.compile(r'^ (\*?\*?\w+):', re.MULTILINE)
511511

512512
for keyword, content in pairs:
513513
content = item_re.split(content)

0 commit comments

Comments
 (0)