mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-07-21 02:09:28 +00:00
Remove empty parens from exceptions
This commit is contained in:
parent
4ebbbf8226
commit
e4b244736a
1 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ class BaseVariable(ABC):
|
|||
|
||||
@abstractmethod
|
||||
def _items(self, key):
|
||||
raise NotImplementedError()
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class CommonVariable(BaseVariable):
|
||||
|
|
@ -51,10 +51,10 @@ class CommonVariable(BaseVariable):
|
|||
return ()
|
||||
|
||||
def _format_key(self, key):
|
||||
raise NotImplementedError()
|
||||
raise NotImplementedError
|
||||
|
||||
def _get_value(self, main_value, key):
|
||||
raise NotImplementedError()
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class Attrs(CommonVariable):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue