Skip to content

Commit

Permalink
Python UserException constructor should not set args
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Aug 2, 2024
1 parent 5d4f24b commit 0b9aee9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/python/Ice/Exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
class Exception(Exception): # Derives from built-in base 'Exception' class.
"""The base class for all Ice exceptions."""

def __init__(self):
super().__init__()

def __str__(self):
return self.__class__.__name__

Expand Down

0 comments on commit 0b9aee9

Please sign in to comment.