diff --git a/README.md b/README.md index eb03d1d..e3e582e 100644 --- a/README.md +++ b/README.md @@ -659,7 +659,7 @@ from dateutil.tz import tzlocal, gettz
func(<positional_args>) # func(0, 0)
@@ -1244,7 +1244,7 @@ error_msg = ''.join(traceback.format_exception(
├── OSError # Errors such as FileExistsError/PermissionError (see #Open).
│ └── ConnectionError # Errors such as BrokenPipeError/ConnectionAbortedError.
├── RuntimeError # Raised by errors that don't fall into other categories.
- │ ├── NotImplementedErr # Can be raised by abstract methods or by unfinished code.
+ │ ├── NotImplementedEr… # Can be raised by abstract methods or by unfinished code.
│ └── RecursionError # Raised when the maximum recursion depth is exceeded.
├── StopIteration # Raised by next() when run on an empty iterator.
├── TypeError # Raised when an argument is of the wrong type.
@@ -1263,7 +1263,7 @@ error_msg = ''.join(traceback.format_exception(
Useful built-in exceptions:
raise TypeError('Argument is of the wrong type!')
raise ValueError('Argument has the right type but an inappropriate value!')
-raise RuntimeError('None of above!')
+raise RuntimeError('I am too lazy to define my own exception!')
User-defined Exceptions
class MyError(Exception): pass
@@ -2933,7 +2933,7 @@ $ deactivate # Deactivates the activ
diff --git a/parse.js b/parse.js
index c68f636..936d9de 100755
--- a/parse.js
+++ b/parse.js
@@ -442,7 +442,7 @@ const DIAGRAM_7_B =
" ├── OSError # Errors such as FileExistsError/PermissionError (see #Open).\n" +
" │ └── ConnectionError # Errors such as BrokenPipeError/ConnectionAbortedError.\n" +
" ├── RuntimeError # Raised by errors that don't fall into other categories.\n" +
- " │ ├── NotImplementedErr # Can be raised by abstract methods or by unfinished code.\n" +
+ " │ ├── NotImplementedEr… # Can be raised by abstract methods or by unfinished code.\n" +
" │ └── RecursionError # Raised when the maximum recursion depth is exceeded.\n" +
" ├── StopIteration # Raised by next() when run on an empty iterator.\n" +
" ├── TypeError # Raised when an argument is of the wrong type.\n" +