Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Commit 1df86e8

Browse files
authored
Add a few words to comment
1 parent 13c732f commit 1df86e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exceptiongroup/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def __copy__(self):
5151
new_group.__context__ = self.__context__
5252
new_group.__cause__ = self.__cause__
5353
# Setting __cause__ also implicitly sets the __suppress_context__
54-
# attribute to True. So we should copy __suppress_context__ attribute.
54+
# attribute to True. So we should copy __suppress_context__ attribute
55+
# last, after copying __cause__.
5556
new_group.__suppress_context__ = self.__suppress_context__
5657
return new_group
5758

0 commit comments

Comments
 (0)