Permalink
Browse files

Closed a TODO

  • Loading branch information...
1 parent 24739df commit 1e97142b8ebfc5e1c5374ef385337f18d059e5ef @KonishchevDmitry committed Dec 18, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 pyvsb/core.py
View
@@ -1,12 +1,15 @@
-# TODO
+"""Core tools."""
class Error(Exception):
- """A base class for all exceptions the module throws."""
+ """A base class for all exceptions the program raises."""
def __init__(self, error, *args, **kwargs):
super(Error, self).__init__(
error.format(*args, **kwargs) if args or kwargs else error)
-class LogicalError(Exception):
+
+class LogicalError(Error):
+ """Exception for a logical error."""
+
def __init__(self):
super().__init__("Logical error")

0 comments on commit 1e97142

Please sign in to comment.