Skip to content

Commit a097dbb

Browse files
committed
Fix bare exception.
1 parent 0f18511 commit a097dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/multiprocessing/shared_memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def __init__(self, *args, buffer=None, **kwargs):
244244
assert hasattr(self, "_proxied_type")
245245
try:
246246
existing_type.__init__(self, *args, **kwargs)
247-
except:
247+
except Exception:
248248
pass
249249

250250
def __repr__(self):

0 commit comments

Comments
 (0)