From e79cd79cd2d1e46d57fd6b941bd6348eb53bdb17 Mon Sep 17 00:00:00 2001 From: Keewis Date: Wed, 5 Aug 2020 14:28:32 +0200 Subject: [PATCH] revert the change to DocFieldTransformer --- sphinx/util/docfields.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sphinx/util/docfields.py b/sphinx/util/docfields.py index 55c00c2ec..c07bc7f66 100644 --- a/sphinx/util/docfields.py +++ b/sphinx/util/docfields.py @@ -322,8 +322,6 @@ class DocFieldTransformer: if typedesc.is_typed: try: argtype, argname = fieldarg.split(None, 1) - if argtype.endswith(","): - raise ValueError except ValueError: pass else: