Skip to content

Commit 65d92cc

Browse files
danielhollashugovk
andauthored
Update Lib/dataclasses.py
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 152ae79 commit 65d92cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/dataclasses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ def __get__(self, _obj, cls):
10011001
cls,
10021002
annotation_format=annotationlib.Format.FORWARDREF,
10031003
)).replace(' -> None', '')
1004-
except (TypeError, ValueError):
1004+
except TypeError, ValueError:
10051005
text_sig = ''
10061006

10071007
doc = cls.__name__ + text_sig

0 commit comments

Comments
 (0)